Facebook OGP无法正常工作

时间:2012-02-07 15:06:35

标签: facebook image sharing

我正试图在Facebook上分享指向我网站的链接时显示缩略图,但它无法正常工作。我尝试过使用Facebook对象调试器,并收到以下警告:

The og:url property should be explicitly provided, even if a value can be inferred from other tags.
The og:title property should be explicitly provided, even if a value can be inferred from other tags.

这些是我正在使用的元标记:

<meta property="fb:app_id" content="227018187387679" />
<meta property="og:locale" content="en_US" />
<meta property="og:title" content="Tree Removal Gone Wrong" />
<meta property="og:type" content="video.other" />
<meta property="og:url" content="http://www.asopao.com/video/2611" />
<meta property="og:image" content="http://www.asopao.com/media/videos/tmb/2611/1.jpg" />

网址为http://asopao.com/video/2611/tree-removal-gone-wrong

我做错了什么?

1 个答案:

答案 0 :(得分:0)

根据短绒: http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fasopao.com%2Fvideo%2F2611%2Ftree-removal-gone-wrong

你错过了这些标签。

这正是您的服务器发送给Facebook的内容:

http://developers.facebook.com/tools/debug/og/echo?q=http%3A%2F%2Fasopao.com%2Fvideo%2F2611%2Ftree-removal-gone-wrong

这些是您发送的唯一元标记。

<meta charset="utf-8" />

<meta name="robots" content="noodp, noydir" />

<meta name="description" content=" Facebook is a social utility that connects people with friends and others who work, study and live around them. People use Facebook to keep up with friends, upload an unlimited number of photos, post links and videos, and learn more about the people they meet." />