Facebook comments on my site work well, except when someone comments on one article, the same comment appears in every article on the website. Obviously, I do not want this. What I did is basically the copy and paste code offered on developers.facebook.com:
`<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>` `<div class="fb-comments" data-href="http://example.com" data-num-posts="2" data- width="470"></div>`
What I did wrong? I would appreciate any help.
Vio
source share