WordPress.org

Ready to get started?Download WordPress

Forums

Simple Facebook Connect
Like Button count and Page ID - doesnt show count of likes of Page (8 posts)

  1. battez
    Member
    Posted 2 years ago #

    hi

    I am using the Sfc_like_button() in my template . it shows fine and I have a count enabled too. However, even though I have put in a Page ID (of which I am admin) in the backend settings, it doesnt show the number of Likes of that facebook page. (which is what I Want it to do).

    Is it that the like button wil actually just count how many like the WordPress "website" itself, or does it update the likes of the Facebook community page?

    can anyone explain or shed light on this?

    http://wordpress.org/extend/plugins/simple-facebook-connect/

  2. battez
    Member
    Posted 2 years ago #

    I don't know if the problem is that my facebook application Id (which I created for this plugin) in no way is set (on facebook) to tie in with the Facebook community page.

    There seems no way to tie my facebook app with the commnity page - just gives an option to create a new page in the profile settings of the application.

  3. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    The application isn't connected to your Facebook Page at all.
    The application is in no way associated with the Page.
    You do not need to associate the application with the Page.
    Stop trying.

    The application is frankly nothing. Ignore it. You have to create it and copy the API key and Secret to the plugin... but that's it. There's nothing more to setup once the application a) exists and b) knows about your website's URL.

    You connect the Fan Page into SFC's settings screen. Not the FB Application screen. SFC does the "connection" that needs to be done for you.

    Now then: Likes on the posts to your Fan Page and likes on your website are not at all the same thing, and they cannot be combined or associated with each other in any way whatsoever. It is not possible, it can not be done, Facebook does not work that way.

  4. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    Note: That's for the Like Button. The "Fan Box Widget" is different. It *is* connected to your Fan Page on Facebook, and the Like button that it shows will be the same one as the Like button for your Fan Page on FB. So somebody liking your page inside that widget only will also be liking your Fan Page on Facebook.

  5. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    Okay, there is one undocumented way to make a like button for a Fan Page in your template. However, this is kind of a "hack" and I do not know if it will continue to work in the future. Facebook may change things.

    If you create a like button using the explicit URL of your fan page, the resulting button will also be linked to that Fan Page. Like so (using the URL of my Fan Page):

    sfc_like_button(array('url'=>'http://www.facebook.com/ottopress'));

    Tested and that works. For now. No guarantees.

  6. GordyGeorge
    Member
    Posted 2 years ago #

    1. To usse the explicit URL of a fan page. Where can I put the code that you mentioned on my blog?

    sfc_like_button(array('url'=>'http://www.facebook.com/ottopress'));

    2.I would also want my fan page that is currectly as a widget on my homepage to also be on each post page, so that visitor can also like my fan page via the post page. How can I achieve.

    Thanks.

  7. battez
    Member
    Posted 2 years ago #

    thanks Otto for your replies. Yes, I figured out after reading some more facebook docs that what you say is correct.

    What slightly confused me was the changes they made to the Application setup on facebook . One was able before to put in a URL - now it is not possible. I now realise the Like count is a separate entity for the new thing one is "liking" not anything existing. cheers. I think I will avoid the hack thing as I wouldnt want to fall foul of Facebook. Thanks for pointin g it out tho.

  8. GordyGeorge
    Member
    Posted 2 years ago #

    Hi Battez,

    Could you please let me know how I can
    I need is to be able to have my fanbox widget as a button on my page.

    An example is on primetime website : http://tv.yahoo.com/primetime/angelina-jolie-s-shocking-display-of-skin-28436026.html

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic