Change from
Source:
- Code:
<div class="fb-comments" data-href="http://learn.forumvi.com/forum" data-numposts="5"></div>
- Code:
<script>
document.write("<div class='fb-comments' data-href='" + window.location.href + "' data-num-posts='2' data-width='400'></div>");
</script>
Source:
- http://stackoverflow.com/questions/8713358/how-to-link-facebook-comments-widget-to-the-current-url
- https://developers.facebook.com/docs/plugins/comments