Facebook Open Graph协议无法正常工作

时间:2011-08-22 16:30:10

标签: facebook facebook-like open-graph-protocol

好的,我知道有很多关于这个主题的帖子,我已经阅读了很多这些帖子;但是,我还没有能够解决我的问题。

我正在尝试在网站上添加类似Facebook的按钮,并使用Open Graph协议发送帖子的特定信息,这些信息会发布到点击类似按钮的人员新闻Feed。

这是我在网站上使用的代码块:

HTML标记:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://developers.facebook.com/schema/">

Meta标签:

<meta property="og:title" content="ethneCITY - Reaching the unreached in the urban center!" />
<meta property="og:type" content="website" />
<meta property="og:image" content="http://www.ethnecity.com/dev/images/share.png" />
<meta property="og:site_name" content="ethneCITY" />
<meta property="fb:admins" content="61800397" />
<meta property="og:description" content="100 yrs ago we sent missionaries to the nations to look for the cities. Today you go to the cities & you find the nations." />

像Facebook的按钮创建工具一样生成的按钮代码:

<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=145713945515336&amp;xfbml=1"></script><fb:like href="http://www.ethnecity.com" send="true" layout="button_count" width="150" show_faces="false" action="like" colorscheme="dark" font="tahoma"></fb:like>

它现在在我的新闻Feed中如何显示? (不是我想要的) - http://tinypic.com/r/axi2kg/7

任何人都有任何想法为什么当我点击“赞”按钮时,它只显示我的新闻Feed上的帖子,而不是使用元标记作为Feed内容?

1 个答案:

答案 0 :(得分:2)

你有吗?

它的数据可能已过期/缓存,而且尚未更新。

http://developers.facebook.com/tools/debug

相关问题