How can I moderate comments in the Facebook fb:comments social plugin?

I've got a facebook application that is on a Canvas page and I'm viewing it through a Facebook Page tab. The like button works, the comments work and the delete button works(I've got candelete on). In the facebook documentation though, it says that the moderators of the application can moderate comments through a link by the post button. How do I get that button to show up? And how do I get notifications to work? I've got my user id in the attributes for the comments.

I've tried to initialize the sdk with the asyncronous code and my app id but it doesn't seem to do anything.

<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({ 
appId: '115173993418',
status: true,
cookie: true,
        xfbml: true
    });
};
(function() {
    var e = document.createElement('script'); e.async = true;
    e.src = document.location.protocol +
  '//connect.facebook.net/en_US/all.js';
    document.getElementById('fb-root').appendChild(e);
} ());
</script>

Answers


My dear there are two ways to do this. First if you are the developer of the application, when you put comment box on your page and login through it, the plugin shows a link "Administer Comment" below the post button. Click on that button you will see a small window where you can set your moderator. the other way to set moderator is to add a meta tag

<meta property="fb:moderator" content="FACEBOOK-PROFILE-ID"/>

I hope it will work


Need Your Help

Is it possible to hide a library dependency if it's a template class?

c++ templates

I have a library A that uses library B. I want the user of A to use a templated class from B library. But A and B have different namespaces, is it possible to encapsulate/hide that class from B in A

GAE Datastore vs Google Cloud SQL pricing

google-app-engine gae-datastore google-cloud-sql

I started developing an app using the Cloud SQL database because I found it easier to understand than the Datastore option (I'd done lots of SQL before). After the first month's billing of the Clou...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.