문제

In meta I added

<meta property="fb:admins" content="myID"/>
<meta property="fb:moderator" content="myID" />

I tried with both and individual

code block

<div id="fb-root"></div>
<script>(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));</script>
<fb:comments href="<?php echo $currPage;?>" num_posts="20" width="500"></fb:comments>

Here $currPage is a dynamic page url

How can I moderate Facebook comments posted in my website?

도움이 되었습니까?

해결책

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

다른 팁

just add facebook app_id in head tag

delete all the admins and then go to

https://developers.facebook.com/tools/comments

and then setting to set all the things

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top