如何审核我网站上发布的Facebook评论? [英] How can I moderate Facebook comments posted in my website?

查看:108
本文介绍了如何审核我网站上发布的Facebook评论?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在meta中添加了

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

我尝试过和个人

代码块

<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>

这里 $ currPage 是动态页面网址

如何审核我网站上发布的Facebook评论?

How can I moderate Facebook comments posted in my website?

推荐答案

我使用了以下方法:

将其放入您的文档的头部:

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/" />


第1步)转到以下网址: https://developers.facebook.com/tools/debug

第2步)输入您的URL并单击debug. 如果有任何要纠正的地方,将在这里提及.

step 2) Enter your URL and click on debug. In case if there is anything to be corrected,it will be mentioned here.

第3步)更正所有警告.检查底部的Scraped URL链接.确保它获得了所有必需的Meta标记.

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.

授予该应用的管理员权限(设置中有一个选项).

Give yourself admin rights for the app(there is an option in settings).

转到此网址: https://developers.facebook.com/tools/comments ?view = queue

这篇关于如何审核我网站上发布的Facebook评论?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆