如果一个人进入我的网站,他应该只会在 fb:comments 社交插件 ( https://developers.facebook.com/docs/reference/plugins/comments/ ) 中看到他朋友的评论。
这是可以实现的吗?
如果一个人进入我的网站,他应该只会在 fb:comments 社交插件 ( https://developers.facebook.com/docs/reference/plugins/comments/ ) 中看到他朋友的评论。
这是可以实现的吗?
编辑
虽然在 facebook 的文档中,但使用新版本的评论社交插件,这个选项无处可寻。除非有一些未记录的元标记允许这样做,否则对评论社交插件的每条评论都将是公开的。使评论仅对朋友可用:取决于用户及其隐私设置
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/
实际上仍然可以将评论框设置为“可见性有限”——在审核仪表板上,在“设置”>“审核模式”下,选择“让我在每条评论出现之前批准它”。如果您从不批准任何内容,用户将只能看到他们朋友的评论。