why i am not getting facebook comment moderator on my website? - facebook

Why i am not able to get moderator view on my website .This is what i have done:
<head runat="server">
<title>Untitled Page</title>
<%-- <meta property="og:url" content="http://localhost:6703/facebookcomments/Default.aspx" />--%>
<meta property="fb:admins" content="myfacebookId"/>
</head>
<body>
<form id="form1" runat="server">
<div>
<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=MyApplicationId";
fjs.parentNode.insertBefore(js, fjs);
} (document, 'script', 'facebook-jssdk'));</script>
<div class="fb-comments" data-href="http://localhost:6703/facebookcomments/Default.aspx" data-width="470"></div>
</div>
</form>
</body>
</html>
also in comment moderation setting i set as "let me approve each comment before it appears".I am myself as application developer and admin. Why Logging with my facebook id i am not able to see the moderator. also i am not getting any notification in comment moderation tool settings. Is because i am using localhost it is not running? please help out. Thanks.

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

Related

Facebook "send" button does not display on page

I have added the Facebook Send button to my website and it does not display. Has Facebook turned off the Send feature?
Here is the page in question.
The documentation for the Facebook Share widget is here.
Below is the code for the html page
<html>
<head>
<title>Your Website Title</title>
<!-- You can use open graph tags to customize link previews.
Learn more: https://developers.facebook.com/docs/sharing/webmasters -->
<meta property="og:url" content="https://www.your-domain.com/your-page.html" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Your Website Title" />
<meta property="og:description" content="Your description" />
<meta property="og:image" content="https://www.your-domain.com/path/image.jpg" />
</head>
<body>
<!-- Load Facebook SDK for JavaScript -->
<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.5";
js.src = 'https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.12&appId=299539706821986&autoLogAppEvents=1';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<!-- Your send button code -->
<div class="fb-send"
data-href="https://compesh.com/test2.html"
data-layout="button_count">
</div>
<div class="fb-send" data-href="https://compesh.com"></div>
</body>
</html>
According to https://developers.facebook.com/docs/plugins/send-button
With the release of Graph API version 2.11, the Send Button is
deprecated. For Graph API versions 2.10 and under, the Send Button
will be supported until February 5, 2018.

Facebook share button not sharing

I have added a facebook share button to my app and it appears correctly o the page. I have used the following code:
https://developers.facebook.com/docs/plugins/share-button/
When I click the button it a popup appears with the correct content and I can click "Post to facebook"
When I do the item appears in my feed perfectly but nobody else can see it even though the privacy settings are correct.
Any ideas... ?
<html>
<head>
<title>Your Website Title</title>
<!-- You can use Open Graph tags to customize link previews.
Learn more: https://developers.facebook.com/docs/sharing/webmasters -->
<meta property="og:url" content="http://www.your-domain.com/your-page.html" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Your Website Title" />
<meta property="og:description" content="Your description" />
<meta property="og:image" content="http://www.your-domain.com/path/image.jpg" />
</head>
<body>
<!-- Load Facebook SDK for JavaScript -->
<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";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<!-- Your share button code -->
<div class="fb-share-button"
data-href="http://www.your-domain.com/your-page.html"
data-layout="button_count">
</div>
</body>
</html>
Things to consider:
Is the privacy set to "friends" or even "public" in the share popup?
Is your App public? Set it public in the "App Review" section.
Make sure your friends actually go to your user profile to check out the posting, it may just not show up in their stream.

Facebook comment moderation implemented but not working

I needed a comment plugin with moderation feature, As I check the docs I can do it with fb comment plugin.
I have followed the documentation and attach fb comment plugin created from one of my app. Used the below code
<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.10&appId=5XXXXXXXXXXXXX4";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
And for the comment I have added
<div class="fb-comments" data-href="http://my.domain.com/folder/subfolder/page-1" data-width="100%" data-numposts="5"></div>
Meta tags on the page are as follows
<meta property="fb:app_id" content="5XXXXXXXXXXXXXX4" />
<meta property="og:url" content="http://my.domains.com/folder/subfolder/page-1" />
<meta property="og:title" content="Title" />
<meta property="og:description" content="Description" />
<meta property="og:image" content="http://my.domain.com/folder/abc.jpg" />
My FB App has domain set to my.domain.com and the site url of website set to http://my.domain.com
I can see the comment plugin on the page and post with fb login all fine.
But I want comment moderation in this plugin, I am checking here https://developers.facebook.com/tools/comments/5XXXXXXXXXXXXXX4/ for comments to show/moderate but no comment is shown under this app.
I have took reference from the following questions, but none can resolve my problem
Facebook comment moderation tool
Can't get the Facebook comment moderation to work
comments plugin moderation tool not working
Please suggest any solution

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

Facebook Like Buttom with count don't update de count

i have this facebook page: LINK
And i want to implement multiple facebook like button on product page on site: LINK
When i click on "Like" Buttom, this aways shows "1" and when refresh the page, this count disapear.
for my product page i use:
<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/pt_BR/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
and for buttons:
<div class="fb-like" data-href="http://www.calcadosabruzzo.com.br/2012/catalogo/1402.html" data-send="false" data-layout="button_count" data-width="85" data-show-faces="false" data-font="segoe ui"></div>
for each phantom pages for the products i use these meta tags:
<!doctype html>
<html xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://opengraph.org/schema/">
<head>
<title>Calçados Abruzzo - Ref.: 1402</title>
<meta property="og:title" content="Calçados Abruzzo - Ref.: 1402" />
<meta property="og:type" content="product" />
<meta property="og:url" content="http://www.calcadosabruzzo.com.br/" />
<meta property="og:image" content="http://www.calcadosabruzzo.com.br/2012/produtos/1402_5122_Marrom_montila.jpg" />
<meta property="og:site_name" content="Calçados Abruzzo" />
<meta property="fb:app_id" content="100002115061810" />
<meta http-equiv="refresh" content="0;url=http://www.calcadosabruzzo.com.br/2012/catalogo.html">
</head><body></body></html>
i dont know where to get the APP_IP becouse the client make his page on facebook and dont make an APP
when i put the product page on Facebook Debug, show me these errors: LINK
How to solve this? Its the first time i use this Plugin...
I managed to find few reports on this behaviour. I seems Facebook introduced a bug because even their reference where you can create like button gives errors. What people suggested is to make an app through developers.facebook.com/apps
Get the app_id from there and in the app settings under App Domain add your website (calcadosabruzzo.com.br).
For fb:admins you should add the app admin id (probably yours).
Hope this helps.