【发布时间】:2012-05-09 02:17:56
【问题描述】:
我知道这是一个很常见的问题,但我尝试过的任何解决方案(很多)都没有奏效。
我正在尝试使用 https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fresidencyradio.com%2F 抓取 http://residencyradio.com/
网站本身正在进行全面检修,这将在下周揭晓该网站第一次被缓存在 FB 上(大约一年前)。
据我所知,我已经包含了所有相关的元标记等,我什至尝试在网站上实现一个like 按钮,但无济于事。我已按照以下内容进行操作:http://ogp.me/,看不出有什么问题。
这是从!DOCTYPE 到</head> 的页面的sippet:
<!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" />
任何帮助将不胜感激,因为几天来我一直在摸索着想弄清楚!
提前致谢!
【问题讨论】:
-
奇怪,当我尝试调试它时,我得到:“解析 URL 时出错:解析输入 URL 时出错,没有数据被抓取。”
标签: facebook html facebook-graph-api facebook-opengraph