不能让Facebook评论审核工作 [英] Can't get the Facebook comment moderation to work

查看:103
本文介绍了不能让Facebook评论审核工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将Facebook评论插件实施到我网站上的一个页面。除此之外,我想打包以缓和评论。我按照Facebook开发人员部分的说明进行了描述。我想使用内联审核工具,而不是创建一个应用程序。所以我放置了以下元数据。

I have implemented the Facebook comments plugin to a page on my site. In addition to this I would like to be bale to moderate the comments. I followed the instructions on the Facebook developer section and implemented as described. I wanted to use the inline moderation tool rather than create an app. So I placed the following meta data.

    <meta property="fb:admins" content="533551342"/>

将内容设置为我的Facebook个人资料ID。
然后我按照Facebook开发人员的说明放置脚本代码。

Where the content is set to my Facebook profile ID. I have then placed the script code as per Facebook developer instructions.

    <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_GB/sdk.js#xfbml=1&appId=672941899483225&version=v2.3";
    fjs.parentNode.insertBefore(js, fjs);
   }(document, 'script', 'facebook-jssdk'));
   </script>

一旦到位,我使用指示的代码将评论部分添加到网站。 p>

Once that is in place, I added the comments section to the site using the code instructed.

   <div class="fb-comments" data-href="http://www.microspot.com/case-studies/boat_design.htm" data-width="540" data-numposts="10" data-colorscheme="light"></div>

所以,所有这一切,评论部分显示和工作,但中等的链接不会显示在下一个到帖子文本的数量(根据面书文档应该发生什么)。

So with all this in place the comments section shows and works, but the moderate link does not appear next to the number of posts text (which is what should happen according to face books documentation).

网页是 http://www.microspot.com/case-studies/boat_design.htm

提前感谢

推荐答案

似乎问题不在于代码,而是Facebook重新索引我的更改。 Facebook开发人员页面上有一个工具,用于调试和索引您的更改。

It seems the issue was not with the code but with Facebook re-indexing my changes. There is a tool on the Facebook developer page for debugging and indexing your changes.

您对网页上的Facebook代码进行的任何更新,特别是元数据,您应该总是使用以下调试工具。

Any update you make to the Facebook code on your webpage, especially the meta data, you should always use the following debug tool.

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

只需将您的网页链接(应该是不是本地的实际页面)粘贴到框中,并按照每次的说明作出改变。

Simply paste your webpage link (should be a live page not local) into the box and follow the instructions each time you make a change.

这篇关于不能让Facebook评论审核工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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