Hello everyone!
After testing several plugins I decided to manually integrate the Facebook comments on my site (even though I know I'll have to edit each new Graphene release).
I modified the file header.php
<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/it_IT/all.js#xfbml=1&appId=myFacebookAPPid";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<meta property="fb:admins" content="myFacebookID">
Then I modified comments.php before <?php if ( have_comments() ) : ?> I entered:
<div class="fb-comments" <?php echo get_permalink($post->ID); ?> data-num-posts="5" data-width="620"></div>
It doesn't work.
"Warning: this plugin for comments is running in compatibility mode, but it still contains post. Try to specify an "href" explicit"
If I insert href provided by Facebook (the address of my site) the comment is duplicated in all post.
Can you help me?
Maybe I should enter the second code somewhere else? (I tried to put it in single.php but the error remains the same).
Thanks.
(Sorry for my not perfect english).
