【发布时间】:2011-12-09 20:12:47
【问题描述】:
我有一个使用 Facebook 点赞按钮的网站。
我正在尝试让“管理”链接显示在页面上,以便将内容推送给喜欢该页面的人。
我的页面的 HTML 命名空间是这样的:
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#">
我的元标记是这样的:
<link rev="canonical" href="http://mysite.com/welcome/" />
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="MySite" />
<meta property="fb:app_id" content="012345678910" />
<meta property="og:title" content="Name of my page" />
<meta property="og:description" content="Description here..." />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://mysite.com/welcome/" />
<meta property="og:image" content="http://mysite.com/path/to/image.jpg" />
我已经使用Facebook debugging linter 检查了该页面,并且它通过了,没有任何警告或错误。我是该应用的管理员。
我做错了什么?
注意:我也尝试过输入<meta property="fb:admins" content="01234567" />,但无济于事。我也尝试过不同的xmlns 标签,甚至没有任何xmlns 标签。
【问题讨论】:
标签: facebook facebook-like facebook-opengraph xml-namespaces