Home » Wordpress » facebook comment plugin disappeared

facebook comment plugin disappeared

Posted by: admin November 30, 2017 Leave a comment


I had the comment plugin working fine, along with the like button and then they stopped working. I don’t believe anything was changed they just stopped showing up. I switched the like button to the iframe method and it worked but I can’t get the comments to show up, I’ve tried both the html5 and xfbml methods. When I look through the source in firebug the code is there but nothing is displayed?

Code from my header file.

<meta property="fb:app_id" content="xxxx"/>
<meta property="fb:admins" content="xxxx"/>


<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

comments code

<div class="fb-comments" data-href="http://www.liamhildebrand.com/dunn/contact" data-num-posts="2" data-width="470"></div>

Any ideas why the plugin stopped loading?


Have you added the facebook share button?
Are you sure you’re not trying to load this script too?
They interfere with the javascrit sdk, causing all the html5 and xfbml plugins to stop working.
If thats not your case it would be more helpful if you share the url your having problems with.

Leave a Reply

Your email address will not be published. Required fields are marked *