我已经遵循了我发现的每条建议,试图使它起作用,但所有这些都无济于事。有人可以告诉我为什么我的描述/缩略图不出现吗?谢谢。以下是我的代码和网站的链接:

元标记:

<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/

在此先感谢您的任何帮助。

有帮助吗?

解决方案

对于那些(像我一样)其他答案无效的人:

在里面 <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 并在此处输入您的URL以刷新页面的FB缓存。

^^^刷新缓存很重要。

其他提示

-2nd编辑 -

请注意,此答案不再起作用,并且已经过时了。请试试 以上答案.

- 原始答案 -

得到了它。必须使用充满疯狂的URL:

<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, ,这只是&P的HTML代码,我认为这是Facebook剖析以获取信息的数组。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top