Hi,
I have added Facebook Comments to my site but I am not entirely sure if I did it right. When I leave a comment with my own FB account the comment shows up and the count works. But I also tried to leave comments with two dummy accounts and those will not show up after I have logged out and the count also does not work.
I was thinking that the problem is caused by the fact that I am not using a XID. Is that a possibility?
Here is how I did it:
Header.php
<html <?php language_attributes(); ?> xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
and
<meta property="fb:app_id" content="MY_ID">
After <body> tag
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({appId: 'MY_ID', status: true, cookie: true,
xfbml: true});
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/de_DE/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>
Single.php
<fb:comments href="<?php the_permalink() ?>" num_posts="25" width="546"></fb:comments>
Any idea what causes the problems?
Thanks,
do77