Facebook在分享我网站的URL时表现得很奇怪
问题描述:
在发布这个问题之前,我已经尝试了所有可能的方法,然后在堆栈溢出。Facebook在分享我网站的URL时表现得很奇怪
我无法理解为什么Facebook没有拿起任何有关hellyalol上的帖子的相关信息,例如标题,缩略图或描述。
这是一个例子http://hellyalol.com/181/my-date/
所有开口图形的标签就位如图源代码但Facebook调试器不拾取所有打开的图形标记。
<meta property='og:title' content='Will you be my date?'/>
<meta property='og:url' content='http://hellyalol.com/181/my-date/'/>
<meta property='og:site_name' content='Hell Ya LOL'/>
<meta property='og:type' content='article'/>
<meta property='og:image' content='http://hellyalol.com/wp-content/uploads/2011/10/fart-exhibit-150x150.jpg'/>
另一大困惑是当我改变固定链接在WordPress例如我的最新它令人惊讶的作品你是最新的。
如http://hellyalol.com/195/years-ago/当你分享它在Facebook上,但仍然调试器不挑任何打开的图表标签这一项工作得很好:S,但仍我改变了固定链接两次为这个职位之前,它可以与WordPress
工作任何人都可以帮忙吗?非常感谢:(
服务器详细信息:我使用光速和使用W3的总缓存启用的memcache
答
确保在您打开HTML标记不会错过这样的:
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:og="http://ogp.me/ns#"
xmlns:fb="https://www.facebook.com/2008/fbml">
这是。您当前的HTML标记 - 如你所见,有些部分缺失(或错误的)有:
<html xmlns="http://www.w3.org/1999/xhtml"
dir="ltr"
lang="en-US"
xml:lang="en-US"
xmlns:og="http://opengraphprotocol.org/schema/">