更改facebook评论插件属性

时间:2011-10-14 11:18:58

标签: facebook plugins comments

这可能非常简单,但在搜索了几个小时之后我似乎无法找到任何东西。我已经在一个网站上添加了一个FB评论插件,用作页面选项卡,一切都正常加载,它一般按预期工作,但我希望能够更改评论框中的各个链接。例如,删除“赞”链接或“回复”链接。

此刻它也显示了我的年龄,评论非常奇怪且没有分页。我看过的其他页面似乎能够控制这个,但是当我查看fb-comment标签和css我看不到任何东西来控制它时。

例如在这个页面(?why标签)中有分页而没有像/ reply / age: http://www.facebook.com/FoodRevolutionCommunity?sk=app_168878106492743

我尝试过使用HTML5和xfbml而没有运气,我想最好使用HTML5代码。

感谢您的帮助。

2 个答案:

答案 0 :(得分:1)

理查德,我不确定您在网站上安装了多少,但没有链接可以关注。要启用审核工具,您需要在包含注释框的页面顶部添加一些打开的图形标记。

https://developers.facebook.com/docs/opengraph/

fb:app_id和我的app id是启用工具的内容。注意:根据我的理解,您无法删除喜欢和回复链接。

我的某个应用程序的示例,该应用程序在页面上有一个注释框。

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://ogp.me/ns#" xmlns:anotherfeed="http://www.shawnsspace.com/ns#">
<head prefix="og: http://ogp.me/ns# anotherfeed: http://ogp.me/ns/apps/anotherfeed#">
            <title>Another Feed Install Wizard</title>
        <meta property="og:title" content="Another Feed Install Wizard"/>
        <meta property="og:description" content="Use Another Feed Install Wizard to generate Time Line style Feeds for your pages and applications."/>
        <meta property="og:type" content="anotherfeed:wizard"/>
        <meta property="og:image" content="<?php echo $this_ogimage; ?>"/>
        <meta property="og:site_name" content="ShawnsSpace"/>   
        <meta property="fb:app_id" content="135669679827333"/>
        <meta property="og:url" content="<?php echo ''.$url.'';?>"/>
</head>

答案 1 :(得分:1)

我刚刚更新了一系列说明,其中包括Facebook评论的完整SEO。如果您需要更多帮助,请查看它。 http://www.reachhighdesign.com/km/facebook-comments-optomized-for-seo.html

相关问题