简体   繁体   English

无法在我的网站上审核Facebook的评论

[英]Not able to moderate Facebook comments on my website

I've put the code for Facebook comments on my website: www.weloveisrael.org (down at the bottom). 我已将Facebook评论的代码放在我的网站上:www.weloveisrael.org(在底部)。 I can't seem to be able to moderate them, this is the code, what am I missing? 我似乎无法调节它们,这是代码,我错过了什么? :

<div id="fb-root"></div>
<meta property="fb:admins" content="518305576" />
<meta property="fb:app_id" content="{224255590957777}"/>
<script src="http://connect.facebook.net/en_US/all.js#admins=518305576&amp;xfbml=1"></script>
<fb:comments href="http://www.weloveisrael.org"  reverse="0" num_posts="10" width="960"></fb:comments>

You added the comments box code correctly: 您正确添加了注释框代码:

<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="example.com" num_posts="2" width="500"></fb:comments>

Then, between the HTML tags in your file (near the top), add the following: 然后,在文件中的HTML标记之间(靠近顶部),添加以下内容:

<meta property="fb:admins" content="518305576" />
<meta property="fb:app_id" content="224255590957777"/>

You can check that you've done this correctly by entering your web page in the Debugger: https://developers.facebook.com/tools/debug 您可以通过在调试器中输入您的网页来检查您是否已正确完成此操作: https//developers.facebook.com/tools/debug

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM