Facebook Share Thumbnail

时间:2011-08-06 作者:Niraj Chauhan

在过去的几周里,我注意到,当我在facebook上分享我的帖子时,缩略图不会出现,我会为我的帖子保留一个特色图片,但当我在facebook上分享时,它会分享没有缩略图的链接,我试着使用我在谷歌上找到的几种代码,但都不起作用。

我正在使用最新WP的211主题

有谁能帮我吗?

1 个回复
最合适的回答,由SO网友:Chris Carson 整理而成

您需要添加Open Graph 元标记到您的<head>. 看见og:image 在下面

<meta property="og:title" content="35% of LinkedIn Users Check The Site Daily" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://therealtimereport.com/2011/08/05/35-of-linkedin-users-check-the-site-daily/" />
<meta property="og:image" content="http://therealtimereport.com/wordpress/wp-content/uploads/2011/08/LinkedIn-Users-Are-Highly-Engaged.png" />
<meta property="og:site_name" content="The Realtime Report" />
<meta property="og:description" content="Now the No.2 ranked social networking site - as of June 2011 - LinkedIn has a highly engaged, profession-focused audience, according to new research from Lab42.  Based on a survey of LinkedIn users in July 2011, the data reveals that 32% of users check the site several times a week, and more than a third - 35% - check the site daily." />

结束

相关推荐

是否有任何插件支持Facebook,如Google+1,并允许在Google Analytics上跟踪社交

我知道Google+1是非常新的(在撰写本文时),但我想知道是否有任何插件支持这些。我所说的“Google Analytics上的社交互动跟踪”是指-使用此代码-http://code.google.com/apis/analytics/docs/tracking/gaTrackingSocial.html?utm_source=helpCenter&utm_medium=helpCenter&utm_campaign=social&utm_content=socialPlugin