FB comments working on site but moderation tool = empty - facebook

I integrated FB comments on a static page. I can comment and see my comments, but I have problems with moderating comments in the moderation tool. There are no comments in the tool.
I have this code, which should help me to modearete:
<html xmlns:fb="http://www.facebook.com/2008/fbml" xmlns="http://www.w3.org/1999/xhtml">
<meta property="fb:admins" content="7675xxxxx" />
<meta property="fb:app_id" content="xxxxx5675551420" />
And in inside the body I have:
<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/de_DE/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-comments" data-href="http://www.example.com/demo" data-num-posts="10" data-width="900"></div>
What is the problem here?
By the way, how can I set it up, that also NON-Facebook Users can comment? I want to
allow anonymous comments. I see no settings for that?
thx

Did you added your user account as moderator in http://developers.facebook.com/tools/comments?
If not, try to add your user account in your application as moderator. Then see is it working.

Please note moderation tool will be available only for non-admins's comments. You cannot moderate your (or other admins') comments.
Edit: Moderators can moderate only 'normal' users comments. Try commenting from a FB account which is not in the comment moderators list.

Related

I do have <meta property="fb:app_id" content="1000000000000000" />

I am trying to set up the comments box on my site.
I have created an app for doing that.
On site I have the meta code for fb app id
<meta property="fb:app_id" content="1000000000000000" />
inside the head tags.
And I have this piece of code for facebook:
<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=1000000000000000 ";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
At the right place of the page I have a div with fb-comments class. The comment plugin works BUT the comments are not shown at https://developers.facebook.com/tools/comments.
When I go to debug at https://developers.facebook.com/tools/debug/sharing
and insert there my page link I get some strange warnings saying among other things that
The 'fb:app_id' property should be explicitly provided, Specify the app ID so that stories shared to Facebook will be properly attributed to the app. Alternatively, app_id can be set in url when open the share dialog.
But I have this meta tag with fb:app_id property!
What am I doing wrong?
Cheers.

Multiple Comment Box moderation with different Facebook App ID

I installed Facebook Comment Plugin for a comment box. For this, I used this meta tag related to Facebook App ID
<meta property="fb:app_id" content="228435337504344" />
<meta property="og:url" content="http://bdlacne.byethost24.com/Dr.Thakur/" />
JavaScript SDK
<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 = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.3"; fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk'));
</script>
And for comment box
<div class="fb-comments" data-href="http://bdlacne.byethost24.com/FacebookSocialPlugins/?ckattempt=1" data-numposts="5" data-order-by="time" ></div>
And it works fine with moderation tool.
Now I want to add another comment box (on another article and on the same page) tied with another App ID as I can set different moderation settings for each.
My query is how I can tie the multiple comment box with different App ID.

How to delete a irrelevant facebook comment from my website(Asp.net)

How to delete a irrelevant fb comment from my website. What i am doing is as:
<div id="fb-root">
</div>
making myself as admin :
<meta property="fb:admins" content="myfbid"/>
<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/all.js#xfbml=1&appId=MyID";
fjs.parentNode.insertBefore(js, fjs);
} (document, 'script', 'facebook-jssdk'));</script>
Placed where i want FB-Comment box to be rendered:
<div class="fb-comments" data-href="mysiteurl.com" data-width="600"></div>
My basic question is how can i delete a comment which is vulgar and publicly visible ? Although i have set myself as moderator in tools then also i am not able to delete other people comment(facebook) from my website i can only mark them as spam but others can easily see the comment on thier individual login. Thank You
I used the following method:
Put this in you Document in the head section:
<meta property="fb:admins" content="jayeshjain24ec" /> //username of moderater
<meta property="og:url" content="http://www.something.com/" />
step 1) Go to this url : https://developers.facebook.com/tools/debug
step 2) Enter your URL and click on debug.
In case if there is anything to be corrected,it will be mentioned here.
step 3)Correct all the warnings.Check the Scraped URL link at the bottom.Make sure it gets all the required Meta tags.
You will get a moderation option on your website once everything is ok.
ALTERNATE SOLUTION:
Give yourself admin rights for the app(there is an option in settings).
go to this url: https://developers.facebook.com/tools/comments?view=queue

Login to my facebook app on facebook comments

I have on my webpage the code for comments like this:
<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/all.js#xfbml=1&appId=111285118965654";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<fb:comments href="MY_WEB_URL" num_posts="2" width="470"></fb:comments>
Comments works fine. I've already have on the head:
<meta property="fb:admins" content="MY_FBID"/>
<meta property="fb:app_id" content="MY_APPID"/>
With these options, i have moderation tool working, but i can't delete any post from users. I've read (i don't know if it's true) that if someone login to facebook with my application, and adding on FB.login a scope with parameter "publish_stream", then, my application will have a way to delete any comment. Well, the problem is that i don't know how to force a user to login to my facebook app before making a comment.
Sorry if my explanation is not good or is wrong.
Thanks
You can check to see if user is logged in and has given permission, if so render comment box if not then render a login button for user to reAuth or Auth with your app.
Let me find a few code snippets.
NOTE: I just tested this with my app using https://developers.facebook.com/tools/comments i was unable to delete any post but my own, or my pages own. Other users are still hide, ban or boast.

how to delete comments on facebook comment box?

Right now i am using facebok comment box and i have made my self as moderator for this comment box.
<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/all.js#xfbml=1&appId=288593874528383";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
I have specified my admin in meta tag
<meta property="fb:admins" content="{YOUR_FACEBOOK_USER_ID}"/>
What is the way to delete any comments given by any user on facebook commentbox?
http://developers.facebook.com/docs/reference/plugins/comments/
Specify fb:app_id as meta property in head of the html doc, like:
<meta property="fb:app_id" content="123456"/>
and repalce 123456 with your app id. Than, if you are the admin of the fb app, you should be able to moderate the comments using this link: https://developers.facebook.com/tools/comments
You can use the graph API to delete comments. Does that help?
Moderation Setup
To use the moderation tool, you either need to connect a Facebook account or a Facebook app to your Comments plugin implementation.
Setup using a Facebook Account
Simply include the following meta tag in the section of every document in which you use the comments plugin:
A. <meta property="fb:admins" content="{YOUR_FACEBOOK_USER_ID}"/>
OR
Setup using a Facebook App
B. <meta property="fb:app_id" content="{YOUR_APP_ID}" />
Source: https://developers.facebook.com/docs/plugins/comments#moderation-setup-instructions