Facebook comment issue

Posted in: Newspaper
Post count: 40

Hi,

I would like to add facebook comments box in my website (http://www.planetbomb.net/) without using any plugin, I get facebook comments code from (https://developers.facebook.com/).

At first I put the code below right after the opening <body> tag in the header.php file.
(<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/sdk.js#xfbml=1&version=v2.6&appId=933277250081237″;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>)

but I cant find the area where I put this code

(<div class=”fb-comments” data-href=”http://www.planetbomb.net/&#8221; data-numposts=”5″></div>).

I want to add facebook comments box in here (http://prntscr.com/bjz5d1)

Thank You!

Post count: 23312

Hello tintin,

Please refer to this topic -> https://forum.tagdiv.com/topic/anybody-implemented-fb-comments/

Thanks.

Post count: 40

Hi Catalin,

Thanks for referring, have a good day.

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.