在Facebook社交评论插件中仅显示朋友的评论fb:评论

时间:2013-03-25 16:02:05

标签: facebook

如果一个人进入我的网站,他应该只在fb:comments社交插件(https://developers.facebook.com/docs/reference/plugins/comments/)中看到他的朋友的评论。

这可以实现吗?

2 个答案:

答案 0 :(得分:1)

修改

虽然在facebook的文档中,使用新版本的评论社交插件,这个选项无处可寻。除非有一些metatag没有记录允许,所以评论社交插件上的每条评论都将公开。 仅对朋友提供评论:取决于用户及其隐私设置

Moderation tools

Admins can choose to make the default for new comments entered either “visible to everyone” or “has limited visibility” on the site (i.e., the comment is only visible to the commenter and their friends), to help mitigate irrelevant content.

Admins can also blacklist words and ban users. If a new comment is published from a banned user or contains a blacklisted word, this comment will automatically have limited visibility.

To moderate, you need to list yourself as an admin. To do this, simply include open graph meta tags on the URL specified as the href parameter of the plugin. These tags must be included in the <head> of the document. Include:

<meta property="fb:admins" content="{YOUR_FACEBOOK_USER_ID}"/>
To add multiple moderators, separate the uids by comma without spaces.

If your site has many comments boxes, we strongly recommend you specify a Facebook app id as the administrator (all administrators of the app will be able to moderate comments). Doing this enables a moderator interface on Facebook where comments from all plugins administered by your app id can be easily moderated together. You can choose to specify either fb:app_id or fb:admins, but not both. This tag should be specified in the <head>.

<meta property="fb:app_id" content="{YOUR_APPLICATION_ID}"/>
You can moderate comments from just this plugin inline. If you have specified your app id as the admin, you can moderate all your plugins at http://developers.facebook.com/tools/comments.

When you implement multiple comments boxes on your site and tie them together using an app_id, the moderation settings you choose will apply to all your comments boxes. For example, changing the moderation setting to 'has limited visibility' will affect all comments boxes under the same app_id. If you need to apply different moderation paradigms in different areas of your site, you should use two or more app_ids. You may then apply different moderation settings each group of comments boxes.

来源:https://developers.facebook.com/docs/reference/plugins/comments/

答案 1 :(得分:0)

实际上仍然可以将评论框设置为“具有有限的可见性” - 在审核仪表板上的“设置”下;审核模式,选择“让我批准每个评论出现之前”。如果您从未批准任何内容,用户将只能看到他们朋友的评论。