简体   繁体   English

Facebook评论框审核

[英]Facebook Comments Box Moderation

Having a problem setting up the moderation toolkit on my facebook comments plug-in. 在我的facebook评论插件上设置审核工具包时遇到问题。 I am trialling this on one page at the moment until I copy it to all pages to each have their own individual comments boxes. 目前,我正在一页上对此进行试验,直到将其复制到所有页面上为止,每个页面都有自己的注释框。

Site Page: http://gp2aus.com/why-go.html 网站页面: http//gp2aus.com/why-go.html

I have inserted the following after my head tag: 我在head标签之后插入了以下内容:

<!-- Facebook Comments Box App ID -->
    <meta property="fb:admins" content="{100016298409099}"/>
    <meta property="fb:app_id" content="{1321908721223176}" />

The following comes after the opening of the body tag: 在打开body标签之后,将出现以下情况:

<!-- Facebook Comments Box Script -->
    <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&version=v2.9&appId=1321908721223176";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>

And the following is in the correct location on my page within the body tag: 以下是我的页面在body标签内正确的位置:

<!-- Facebook Comments Box -->
    <div class="fb-comments" data-href="http://gp2aus.com/why-go.html" data-width="100%" data-numposts="100" data-order-by="reverse_time"></div>

I have tried all of the applicable solves I have found on SO. 我已经尝试了在SO上找到的所有适用解决方案。

  • My AppID is correct 我的AppID是正确的
  • AppID's match in the script and AppID pages 脚本和AppID页面中的AppID匹配
  • I am listed as a moderator in the Settings in the 'Tools & Support' section 我在“工具和支持”部分的“设置”中被列为主持人
  • I am not in the banned or blacklisted sections! 我不在禁止或列入黑名单的部分!

One thing that I wonder is the problem, but don't know how to fix, is that when I open the 'Facebook for Developers' site and click on the 'Tools & Support' it says that there are no comments for review. 我想知道的一件事是问题所在,但不知道如何解决,是当我打开“开发人员Facebook”网站并单击“工具和支持”时,它说没有任何评论可供审查。 Which is odd given that I have just tried making some example comments from myself and another profile and nothing seems to come up. 考虑到我刚刚尝试从自己和其他个人资料中发表一些示例性评论,这似乎很奇怪,所以这很奇怪。

Can't quite see what I'm doing wrong here but would much appreciate your collective wisdom! 在这里看不清我在做什么错,但非常感谢您的集体智慧!

S. S.

{} are used in the documentation to show that you need to insert a value at this point; 文档中使用{}表示此时需要插入一个值; they are not part of that value. 它们不属于该价值。

If you see fe {app-id} in there, it means you need to replace the whole placeholder {app-id} with the actual app id, not just put it inside the curly braces. 如果在其中看到fe {app-id} ,则意味着您需要用实际的应用程序ID替换整个占位符{app-id} ,而不仅仅是将其放在花括号中。

Fix that, and then use https://developers.facebook.com/tools/debug to refresh the cache and check for further errors. 解决此问题,然后使用https://developers.facebook.com/tools/debug刷新缓存并检查是否有其他错误。

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

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