WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Like button in the loop not registering the "like" properly. (4 posts)

  1. jbisenius
    Member
    Posted 3 years ago #

    Hello, and apologies if this has been treated in another thread already (I have only come accross some half-solutions that did not solve my problem.

    I am trying to integrate FB Like in the topright corner of theloop, and a larger version at the bottom of singlepost.

    The codes I have used are:
    a. theloop
    <div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=134203116659997&xfbml=1"></script><fb:like href="<?php the_permalink(); ?>" send="false" layout="button_count" width="45" show_faces="false" font=""></fb:like>
    on for example http://www.cij.lu/cij/cij-lu/etudes-et-formations/ (loop 1) and on for example http://www.cij.lu/cij/cij-lu/cahiers/ (loop 2)or on http://www.cij.lu/tk8/teamkaart-lu/kado/ (loop 1 again).
    The code used is exactly the same, but on the one page, some Likes "register", and others fade out after a split second and don't share on Facebook.
    b. singlepost
    <iframe src="http://www.facebook.com/plugins/like.php?app_id=162136851196&href&send=false&layout=standard&width=350&show_faces=true&action=recommend&colorscheme=light&font&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:350px; height:80px;" allowTransparency="true"></iframe>
    This is in action on for example http://www.cij.lu/e26/euro26-lu/avantages/2011/04/luxemburger-wort/ or http://www.cij.lu/e26/euro26-lu/avantages/2011/04/luxemburger-wort/ where they both don't seem to work, most of the time.

    I have tried to logically analyze where the issue might be, but to no avail :( - basically the only one I am quite sure works is the http://www.cij.lu/cij/cij-lu/cahiers/ one.

    Thank you so much for your help and time, we would all greatly appreciate it!

  2. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    Isn't this more of a Facebook issue, rather than a WordPress issue?

  3. jmag
    Member
    Posted 3 years ago #

    I had a similar problem a few months ago, likes not registering correctly. It was an issue with the OG: meta tags for us and the App ID. Hopefully this helps you.

    developers.facebook.com/docs/opengraph/

  4. jbisenius
    Member
    Posted 3 years ago #

    Thank you for your feedbacks. Chip, as it is the same code, but on some wordpress-loops, it seems to be working, and on others not, I was guessing it was either a WordPress issue, or a "me-issue". I have checked all possible me-issues I knew of ;), and will now gladly look into jmag's suggestion ;) - I had a hunch it could be somehow related to App ID's and OG, so chances are good it's a me-issue :D

Topic Closed

This topic has been closed to new replies.

About this Topic