Facebook Share不显示我的描述或缩略图

时间:2010-06-01 13:34:05

标签: html facebook-sharer

我已经按照我发现的每一条建议来尝试使其工作,但所有这些都无济于事。有人能告诉我为什么我的描述/缩略图没有显示出来吗?谢谢。以下是我的代码和网站链接:

Meta标签:

<meta name="title" content="La Vita è Bella, because life is beautiful" />
<meta name="description" content="Drawing on Italy’s most famous export – great-tasting, healthy, colourful food – La Vita é Bella brings families together to experience mealtimes the Italian way." />

<link rel="image_src" href="http://www.lavitaebella.co.uk/images/imageforfacebook.jpg" />

实际链接:

<a href="http://www.facebook.com/share.php?u=http://www.lavitaebella.co.uk" target="_blank"><img src='../images/share/s-fb.png' /></a>

http://www.lavitaebella.co.uk/

提前感谢您的帮助。

2 个答案:

答案 0 :(得分:92)

- 第二次编辑 -

请注意,这个答案不再适用,而且已经过时了。请尝试the above answer

- 原始答案 -

排序好了。不得不使用一个充满疯狂的网址:

<a href="http://www.facebook.com/sharer.php?s= 100&amp;p[title]=La Vita È Bella&amp;p[url]=http://www.lavitaebella.co.uk/teachers/resources.html&amp;p[images][0]=http://www.lavitaebella.co.uk/images/imageforfacebook.gif&amp;p[summary]=Drawing on Italy’s most famous export – great-tasting, healthy, colourful food – La Vita é Bella brings families together to experience mealtimes the Italian way"><img src='../images/share/s-fb.png' /></a>

- 编辑 -

作为一些额外的信息,我不记得我最初在哪里找到这些信息,但这里是s = 100部分意味着什么:

  

基本方法是提供指向http://www.facebook.com/sharer.php?s=100的链接,这是基本的共享页面(通常会在弹出窗口中显示)。

但我尝试更改数字,它仍然会转到同一个地方。

至于&amp;p,它只是&amp; p的html代码,我认为这是Facebook为获取信息而分析的数组。

答案 1 :(得分:30)

对于那些(对我来说)其他答案不起作用的人:

<head></head>部分,添加

<meta property="og:url" content="https://www.mathnuggets.com/" />
<meta property="og:image" content="https://www.mathnuggets.com/images/fb-logo.jpg" />
<meta property="og:title" content="Math website for your gifted student" />
<meta property="og:description" content="Challenging word problems for gifted elementary students" />` 

然后转到FB Linter并在那里输入您的网址以刷新您网页的FB缓存。

^^^刷新缓存很重要。

相关问题