Suddenly Comments Plugin code is not showing commenting box

Viewed 94

I am using bellow code for comments:

<div class="fb-comments" data-numposts="3"
     data-href="HERE_UNIQUE_URL" data-width="100%"
     data-order-by='reverse_time'>
</div>

<script type="text/javascript">
(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_GB/sdk.js#xfbml=1&version=v2.8&appId=APPID";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));

</script>

Suddenly, It is not showing comments box on new url(data-href). while it is showing with some old URL with comments message. Code are same. There have no error in console.

1 Answers

Use "https://developers.facebook.com/tools/debug/" and debug your new URL. Maybe this is an issue from Facebook comment plugin for the new URL.

Related