Facebook AWD All in one
[resolved] Like button not working (6 posts)

  1. Misamee
    Posted 4 years ago #

    Thank you for you plugin!
    So far it looks the most complete one.

    However, I'm trying to add the like button in the home page.
    For some reason it doesn't want to work with Firefox.

    Chrome: works perfectly, either I'm logged in to WP and/or Facebook.
    Firefox: it keep showing "Recommend - One recommendation. Sign Up to see what your friends recommend.", doesn't matter if I'm logged in Facebook.
    I thought it was because I was logged in WP (in this case WP SuperCache doesn't provide cached content), but if I logout from WP and from Facebook when I use Chrome, the like button works as expected (loggin in to Facebook it changes showing the I've liked the button).
    If I do the same in WordPress, the like button doesn't change at all.

    Any tip?


    Plugin Author

    Posted 4 years ago #

    In your general settings, set action to "Like" instead recommend.

    Or if you used shotcode, you can simply add option action="like"
    ex: [AWD_loginbutton action="like"]

    doesn't matter if I'm logged in Facebook.
    ====> Yes this part is a little sketchy...
    In fact, Facebook have changed his login system to use Oauth2.
    For the moment, the plugin can't use the same method as facebook because facebook will give the opportunity to use new javascript SDK from the 20 july 2011.

    So if you re logged in facebook, your website cannot know that for the moment.

    If you want that, you should be connected to facebook on your wp site via the login button

    When you say it's not working, what is exactly the problem ?
    the button like does'nt count the like ?

    If it s that, look this post

  3. Misamee
    Posted 4 years ago #


    Thank you for your answer.

    When I'm saying that it's not working, I mean that when I'm in Firefox, the Like button doesn't recognize I'm logged in Facebook.
    When I'm in Chrome, it does.

    To make it clearer, in Facebook I see "2 recommendations. Sign Up to see what your friends recommend.", in Chrome I see "Andrea Sciamanna and one other person recommend this.".

    So, even if the issue is with the authentication method, I don't understand how is possible that it works in Chrome, but not in Firefox.

    Plugin Author

    Posted 4 years ago #

    I think it comme from a security probleme in firefox.

    Firefox do not want to give info from the parent page to an iframe.
    Others browsers can sometimes...

    If you want the like button recognize you're logged in Facebook you should use XFBML version of the like button.

    I set that today on my site.

  5. Misamee
    Posted 4 years ago #

    It's already the XFBML version... I've tried with the iframe version too, but I didn't like it.

  6. MaticK
    Posted 3 years ago #

    I had the same problem with firefox for a looooong time, before I discovered a solution.. it's about cookies.
    Go to Tools / Options / Privacy and enable third part cookies. Restart FF and it should work now, you'll appear logged into FB on your WP in FF.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Facebook AWD All in one
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic