how to moderate comments from social plugin facebook?


Staff member
I've just added this snippet to my wordpress blog...

    <script>(function(d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) {return;}
        js = d.createElement(s); = id;
        js.src = "//";
        fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));

With the code below on my single.php template.

<div class="fb-comments" data-href="<?php the_permalink() ?>" data-num-posts="10" data-width="642"></div>

Source taken from facebook developers site...
<a href="" rel="nofollow"></a>

This has added a sweet facebook comments box onto my blog posts. But I need to moderate the comments some how?

So I've read the documentation and it says add this meta into your head with my user ID.

&lt;meta property="fb:admins" content="6468594984"/&gt;

This seemed to work, only if I went to that post when I was logged in as facebook user 6468594984 - and I could see a moderator view button on the comments box. So this worked.

How ever this is slightly impractical.. so I went to the next level.

I created a facebook app with the correct site URL on the website tab ending with... /

Changed my previous meta for this...

&lt;meta property="fb:app_id" content="766484684648"/&gt;

and I presumed by going to...

<a href="" rel="nofollow"></a>

...that I could now moderate all the comments for my wordpress site by viewing app 766484684648.

But no comments are appearing on app id 766484684648 within the tools comments site.

Can any one help enlighten me on where I've gone wrong or where I need to fix.

Thanks hugely!!!