Search code examples
buttonfacebook-likecounterconfirmation

Like button confirmation anti-


My like button need a confirmation before the user can like a page. I have made several tests on a website under development. This causes my website to be on the «facebook blacklist».

I want to know why my counter is hidden? Did the clickjacking protection remove the counter on the Like button?

Url problem:

(**Sorry I can't post more than 2 links)

My code

   <script type="text/javascript" src="https://connect.facebook.net/fr_FR/all.js#xfbml=1"></script>


  <fb:like class="facebook-share-button" href="<?php the_permalink(); ?>" layout="button_count" show_faces="true" width="200" font=""></fb:like>

Solution

  • I went to, http://developers.facebook.com/tools/debug/og/object?q=www.codeculture.tv and it appears Facebook is scraping the URL fine.

    I also went to http://graph.facebook.com/http://www.codeculture.tv and I see 16 likes for the domain. I'm not seeing anything out of the ordinary.

    But when I view source of your page I get <like class="facebook-share-button" href="http://codeculture.tv/annette-tricot-machine/" layout="button_count" show_faces="true" width="200" font=""></like>

    Notice that it is no fb:like

    I also see:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

    but no mention of the fb

    You may want to change your like code to the HTML5 version rather than the XFBML version.