评论插件审核工具不起作用 [英] comments plugin moderation tool not working

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

问题描述

我正在尝试设置Facebook评论社交插件.将设置该插件,以便我们网站上的每个产品页面都将具有带有唯一URL的注释插件.我希望能够一起审核所有评论,这应该可以通过Facebook上的评论主持人工具完成.

I'm trying to set up the Facebook comments social plugin. The plugin will be set up so that each product page on our site will have a comments plugin with a unique URL. I want to be able to moderate all the comments together, which should be able to be done with the comments moderator tool on Facebook.

我可以将社交插件放置在页面上,并与相应的应用程序ID链接,但是我看不到任何审核工具上的注释,网址为:https://developers.facebook.com/tools/comments

I can put the social plugin on the page with it linked to the respective app ID, but I don't see any comments appear on the moderation tool at: https://developers.facebook.com/tools/comments

页面上的代码是这样:

<div id="fb-root"></div>
<script type="text/javascript" language="javaScript">
  (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_US/all.js#xfbml=1&appId=[appid]";
     fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));
</script>

然后再...

<meta property="fb:app_id" content="[appdid]"/>
<div class="fb-comments" data-href="http://www.testtesttest.com/" data-num-posts="2" data-width="" data-colorscheme="dark"></div>

重要的是要注意,目前我实际上正在使用URL testtesttest.com,但是我将实际的应用程序ID放在应用程序ID位置.

It's important to note that for now I'm actually using the URL testtesttest.com, but I am putting in my actual app ID in the app ID spots.

我这样做,可以在页面上发表评论.但是,我在审核工具中看不到任何内容.关于我可能做错的任何建议吗?有没有人让它成功工作?我不确定我的应用设置是否错误,是否存在网址匹配问题或域问题.我不确定从哪里开始.

I do this and can post comments to the page fine. However, I see nothing in the moderation tool. Any suggestions on what I could be doing wrong? Has anyone gotten this to work successfully? I'm not sure if my app is set up wrong, or there is a url match issue, or domain issue. I'm not sure where to start.

谢谢!

推荐答案

我知道发生了什么事.我正在本地计算机上调试,看来facebook admin集成在那里不起作用.将其移至生产/可见服务器后,调试器便开始工作: https://developers.facebook.com/tools /debug

I figured out what was going on. I was debugging on my local machine, and it seems that the facebook admin integration wouldn't work there. Once I moved it to a production/visible server the debugger worked: https://developers.facebook.com/tools/debug

然后,我能够对主要问题进行故障排除并整合评论.这很奇怪,因为评论本身将在本地工作.生活和学习,我猜.

I was then able to troubleshoot the main problems and get the comments integrated. It's odd because the commenting itself will work locally. Live and learn I guess.

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

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