Facebook Like Button Not Displaying?

If you’re using the Facebook XFBML Like button implementation and you are having issues with your like button not displaying, make sure to have the following in place:


  1. Your  < HTML > opening tag has the following:
    • xmlns:fb="http://www.facebook.com/2008/fbml"
    • xmlns:og="http://opengraphprotocol.org/schema/"

  2. JaveScript reference between your < Head > tags :
    < script src=”http://connect.facebook.net/en_US/all.js#xfbml=1″ ></ script>
  3. Add this tag after your opening < BODY > tag:
    • < div id=”fb-root” >< /div >
  4. And then add your button:
    • < fb:like href=”http://seomention.comayout=”box_count” show_faces=”false” width=”450″ action=”recommend” font=”arial” >< /fb:like >

6 thoughts on “Facebook Like Button Not Displaying?

  1. Thanks for posting this, I put my social media buttons in a and Facebook wouldn’t show up. This fixed it! However, it seemed I needed to have the script code both in the as well as near the button itself for this to work properly. Maybe just something odd with my site structure.

    Also, you should warn people not to copy/paste the code directly as it contains spaces after the opening characters in the tags.


  2. I have issues with my own, had this working for 2weeks then it just wont show again on my site am not using the XFBML

  3. You must have some type of age restrictions or country restrictions on the Page. Go to Edit Page, then Manage Permissions and see if you have any restrictions there. It’s frustrating that Facebook works that way if you have a Page that is intended for a certain age group or country but that’s how it is! Hope that helps!

    Non-profit Website

Comments are closed.