Facebook Like Reset to ZERO

Hi guys,

We love this plugin. But lately, it didn't work. Can you please check for us, please.

Screencast: http://screencast.com/t/vk9tATui

Site: http://bit.ly/JQwk3K

Cheers guys!

====

Error on Chrome:

The "fb-root" div has not been created, auto-creating all.js:37
FB.init has already been called - this could indicate a problem all.js:37

  • Hakan
    • The Incredible Smush

    Hi,

    Please switch to Wordpress default theme (Twenty Eleven) and try there.

    1. If it works (possibly), then you need to update jQuery version bundled in your theme. Now it uses a bundle with jQuery 1.6.4, however current version is 1.7.2

    This is the download address of the bundle download package you are using:
    http://jquerytools.org/download/

    2. If it doesn't still work with 2011 theme, please keep the theme as it is and let me know.

    Cheers,
    Hakan

  • easywizard
    • Design Lord, Child of Thor

    Here's the screencast for the current issue:

    http://screenr.com/6F08

    I have this site (Site: http://bit.ly/JQwk3K) hosted on WP Engine and it didn't work there even I switched the theme to Twenty Eleven.

    I have tested Pay with a Like plugin on different server, and the plugin works on both theme tested (Enclave Unity - our theme) and Twenty Eleven.

    We have submitted a ticket here -

    https://wpengine.zendesk.com/requests/32999

    I wasn't sure why it didn't work on WP Engine. Please let us know if you can assist us or if you could work together to find the root cause since WP Engine security permission is slightly tight than other hosting.

  • Hakan
    • The Incredible Smush

    Hi,

    I think you are activating some new plugins or changing your theme, because now you have two different versions of jQuery loaded on the page and this wasn't like that yesterday.

    Namely first:

    <script type="text/javascript" src="http://mediaenclave.s3.amazonaws.com/enclavelabs/resouces-cdn/jquery.tools.min.js"></script>

    And then:

    <script type='text/javascript' src='http://testbed.enclavelabs.com/wp-includes/js/jquery/jquery.js?ver=default'></script>

    Loading of two different jQuery versions will obviously cause problems.

    On the other hand, I have no idea why Twenty Eleven did not work on this server, but worked on the other one. This may be because of a temporary Facebook connection problem.

    The best way we can assist you is sending your wp-admin credentials to hakan at incsub.com email address, so that I can activate/deactivate themes, plugins and see the result.

    Cheers,
    Hakan

  • easywizard
    • Design Lord, Child of Thor

    Hi Hakan,

    I will wait for the updates from WP Engine.

    I couldn't give you the access now as I have to ask my manager as the server access is sensitive.

    Since you have asked for jQuery update. I have change for the one in S3 CDN.

    Please double check now as I have reverted it to the old one.

    1.6.4

  • easywizard
    • Design Lord, Child of Thor

    As commented above, this is the original JS file which has been recovered.

    http://mediaenclave.s3.amazonaws.com/enclavelabs/resouces-cdn/jquery.tools.min.js

    But the above doesn't provide any conflict to the theme, correct?

    And when I did the test with twentyeleven, the plugin didn't work.

    Next: I will ask my superior's permission to change the theme to twentyeleven. I will update you once I have the permission to change the theme to twentyeleven.

  • Hakan
    • The Incredible Smush

    No, it is not correct. The above file includes jQuery version 1.6.4. But current jQuery version is jQuery 1.7 and it is loaded again in your theme.

    As I wrote above you should download the latest version (jQuery Tools v1.2.7) from:
    http://jquerytools.org/download/

    and cancel the second call.

    You should also fix $ usage to conform these rules:
    http://codex.wordpress.org/Function_Reference/wp_enqueue_script#jQuery_noConflict_wrappers

    For example you still have this (may be others too):

    $("ul.css-tabs").tabs("div.css-panes > div", {
    
    		effect: 'ajax'
    
    	});

    ($ should be replaced by jQuery there)

    Cheers,
    Hakan

  • easywizard
    • Design Lord, Child of Thor

    Alright Hakan,

    I have received the approval from my superior.

    I have switched the theme to twentyeleven so that we can focus on solving the issue.

    Some updates, WPEngine support team is also trying to identify why the plugin did not work. I will keep you posted if there are any updates.

    But as of now, even with twentyeleven, the pay with a like did not work.

  • Hakan
    • The Incredible Smush

    Hi,

    I still see another issue: JQuery-ui is being loaded twice. This may be related to the problem or not.

    Please disable all plugins except Pay With a Like and try like that.

    Also activate Twitter button for Pay With a Like and let's see if this issue is limited to Facebook or not.

    Cheers,
    Hakan

  • easywizard
    • Design Lord, Child of Thor

    Hi Hakan,

    I have activated Floating Social plugin as requested.

    The Like doesn't work.

    Can you help us to solve this issue, please?

    How are you sure regarding the fact that this domain has been banned by Facebook? What makes you arrive to this conclusion?

    The same domain that I have also might have the same issues as this, support ticket:
    https://premium.wpmudev.org/forums/topic/floating-social-facebook-like-doesnt-work#post-227162

  • Hakan
    • The Incredible Smush

    Hi,

    First of all I said I am not 100% sure. I know that a ban of the domain by Facebook is possible, but frankly I have not seen one personally.

    Considering the facts:
    1. Pay With a Like and Floating Social Facebook likes do not work
    2. Twitter like works
    3. Pay With a Like works with the same theme in another domain

    I see only two possibilities:
    a) Your server is by some way blocking Facebook connections
    b) Facebook is rejecting requests from this domain

    Unfortunately I don't have any knowledge how to fix this. It is either a server issue, or a Facebook limitation. So I am not able to help you further.

    As your problem is turned out to be not limited to Pay With a Like any more, I suggest you to open a new topic, so that more people can help you in your issue.

    Cheers,
    Hakan

  • aecnu
    • WP Unicorn

    Greetings easywizard,

    The one thing that Hakan did not mention or simply may not be aware of is the fact that Facebook has reported to their Devs that they have over 866 outstanding unresolved issues.

    Reference: https://premium.wpmudev.org/forums/topic/fbs-change-in-api-for-remote-access#post-227743

    Which may indeed be why you are having trouble. On the other hand on my test installation the "like" worked flawlessly.

    Cheers, Joe

  • Hakan
    • The Incredible Smush

    Hi aecnu and easywizard,

    Pay With a Like does not use Facebook API. So that reference is hardly relevant.

    I want to emphasize once more:

    Considering the facts:
    1. Pay With a Like and Floating Social Facebook likes do not work
    2. Twitter like works
    3. Pay With a Like works with the same theme in another domain

    I see only two possibilities:
    a) Your server is by some way blocking Facebook connections
    b) Facebook is rejecting requests from this domain

    Considering these facts, this issue is beyond Pay With a Like and I am marking this as resolved.

    @easywizard, please let's continue in your other topic, because this is not a plugin issue any more.

    Cheers,
    Hakan

  • Hakan
    • The Incredible Smush

    Hi aecnu,

    I would also like to remind you and any other interested parties that if you had not waited over two weeks to respond/follow up to this member I would not have had to say anything.

    That is not the case here. If you read all messages carefully you will see that I followed the member very closely and asap and offered all the help within my knowledge.

    At last he and I saw that 1) This is not related Pay With a Like, because Facbook of Floating Social is not working either, 2) This is not theme related, because the same theme works in another domain 3) This is not a general restriction problem, but only about Facebook, because Twitter works without any issue.

    So I have already told my opinion, that the issue is domain related.

    Then member kindly asked to re-open the topic, which I had closed before, and I didn't say no, for understandable reasons:

    I will leave this support ticket open until I have solved it, if that is okay.

    API problems are irrelevant, because Pay With a Like simply adds a Like button, like any other website owner can do. It is not developer related, but website owner related, i.e. either Facebook is restricting the domain or server is restricting Facebook.

    This is my primary job, because I am the developer of Pay With a Like and I am responsible of any existing or potential issues.

    Thanks for your understanding,
    Hakan

  • aecnu
    • WP Unicorn

    Greetings Hakan,

    Thank you for your kind and measured response, I acknowledge and understand your position.

    It appears that we are both doing our jobs, you addressing potential issues with your plugin and I addressing all open and aging tickets as required.

    As far as follow up posts are concerned, obviously things are not always as they appear, especially in the event of working off forum - not that this is the case here I do not know, but as you can clearly see by the aging of the ticket I had no choice but to respond with something and I did with the tools and the knowledge I had at the time.

    JDD a well know Facebook developer yesterday posted that nothing is working right on Facebook ( I would imagine this would include likes? ):
    https://premium.wpmudev.org/forums/topic/ultimate-facebook-not-connecting#post-235801

    Facebook has caused us so much grief beginning at the end of March I am not surprised at any wrenches coming from them, personally I wish lightening would strike there servers and take them out completely, we would all be better off.

    However, no such luck ... lol

    Have a GREAT upcoming weekend, I believe we have met a common ground and understanding concerning this issue and the mission requirements of each other.

    Cheers, Joe

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.