0

我知道这是一个很常见的问题,但我尝试过的任何解决方案(很多)都没有奏效。

我正在尝试使用https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fresidencyradio.com%2F抓取http://residencyradio.com/

该网站本身正在进行全面检修,这将在下周揭晓该网站在 FB 上缓存的时间(大约一年前)。

据我所知,我已经包含了所有相关的元标记等它们应该如何,我什至尝试在网站上实现一个类似的按钮,但无济于事。我遵循了以下内容:http: //ogp.me/并且看不到任何错误。

这是从!DOCTYPEto页面的 sippet </head>

<!DOCTYPE html>
<html lang="en" prefix="og: http://ogp.me/ns#">
<head>
<meta charset=utf-8>
<title>The Residency</title>

<!--[if IE]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js">
    </script>
<![endif]-->
<link href="css/reset.css" rel="stylesheet" type="text/css" />
<link href="css/stylesheet.css" rel="stylesheet" type="text/css" />
<link rel="icon" type="image/png" href="images/favicon.png" />


<!--Meta Data-->
<meta name="keywords" content="The Residency, M. Budden, Neal McClelland, Michael Budden, Radio, Residency Radio, 
Residency, Global, House, Electro, Progressive, Tech, Techno, DnB, Drum and Base, Dubstep, iTunes, Belfast, 
Northern Ireland, UK" /> 
<meta name="description" content="Brought to you by Neal McClelland and M. Budden, The Residency is a weekly global underground dance show" />
<meta property="og:title" content="The Residency A global underground dance show" />
<meta property="og:type" content="musician" />
<meta property="og:url" content="https://www.facebook.com/theresidency" />
<meta property="og:image" content="https://www.residencyradio.com/images/Residency_logo_circle.png" />
<meta property="og:site_name" content="The Residency" />
<meta property="fb:admins" content="1324839758" />

任何帮助将不胜感激,因为我已经摸索了几天试图弄清楚!

提前致谢!

4

1 回答 1

1

这是一个猜测,但您的 html 无效,可能是因为 facebook 抓取工具无法解析并从中提取数据。

我还没有完成所有这些,但你似乎没有关闭所有标签。例如,描述和关键字元标记不以“/>”或“>”结尾。


编辑

当我从服务器加载您的 html 时调试器显示的屏幕截图: 屏幕截图

于 2012-05-09T06:54:48.467 回答