【发布时间】:2011-11-01 07:22:47
【问题描述】:
好的,我知道有很多关于这个主题的帖子,我已经阅读了很多;但是,我还没有解决我的问题。
我正在尝试将 Facebook 点赞按钮添加到网站,并使用 Open Graph 协议为发布到点击点赞按钮的个人新闻源的帖子发送特定信息。
这是我在网站上使用的代码块:
HTML 标签:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://developers.facebook.com/schema/">
元标签:
<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&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>
它现在如何出现在我的新闻提要中? (不是我想要的) - http://tinypic.com/r/axi2kg/7
任何人有任何想法,为什么当我单击“喜欢”按钮时,它只会像这样在我的新闻提要上显示帖子,而不是使用元标记来显示提要内容?
【问题讨论】:
标签: facebook facebook-like facebook-opengraph