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.com” layout=”box_count” show_faces=”false” width=”450″ action=”recommend” font=”arial” >< /fb:like >
Topics: Social Media
Tags: