February 2, 2017 at 8:46 am
Hi,
I’ve spent many hours and days trying to implement this, to no avail. Have searched on here and tried everything I could find.
What I’m trying to do is to add the ability for people to comment on my blog posts via Facebook. I created a FB app, and here are the instructions and codes I was given:
Include the JavaScript SDK on your page once, ideally right after the opening <body> tag.
<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.8&appId=603977916476217″;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>
Place this code wherever you want the plugin to appear on your page.
<div class=”fb-comments” data-href=”*Login to see link ” data-width=”500″ data-numposts=”10″></div>
I have tried many, many things, none worked, so everything is removed and is back to normal (untouched). I would prefer not to use a plugin, as they are often not updated, get bad reviews, and I don’t want to risk losing all my comments if the plugin stops working. My thought was to implement it into my site first (Virtue Premium), then create a child theme with it already in there. ***Although, if there’s a way to do it without using a child theme, that would be better, because then I’ll end up with issues of things not working and needing to update the child theme.
I’m open to doing it whatever way is correct. At this point, I’d even be willing to pay someone to do it! Any help would be much appreciated. Thanks in advance.
The site is: http://www.LoriTheAuthor.com