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

发布于 2024-09-03 12:58:30 字数 822 浏览 0 评论 0原文

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

元标签:

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

预先感谢您的帮助。

I have followed every single piece of advice I have found to try to get this to work but all of it has been to no avail. Can someone tell me why my description/thumbnail doesn't show up? Thanks. Below is my code and the link to the site:

Meta Tags:

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

Actual Link:

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

Thanks in advance for any help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

时光与爱终年不遇 2024-09-10 12:58:30

--第二次编辑--

请注意,这个答案不再有效并且已经过时。请尝试上述答案

——原始答案——

已经解决了。不得不使用一个充满疯狂的网址:

<a href="http://www.facebook.com/sharer.php?s= 100&p[title]=La Vita È Bella&p[url]=http://www.lavitaebella.co.uk/teachers/resources.html&p[images][0]=http://www.lavitaebella.co.uk/images/imageforfacebook.gif&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 这是基本共享页面(通常显示在弹出窗口中)。

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

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

--2nd EDIT--

Please note that this answer doesn't work any more and is out of date. Please try the above answer.

-- ORIGINAL ANSWER--

Got it sorted. Had to use a url that is chock full of craziness:

<a href="http://www.facebook.com/sharer.php?s= 100&p[title]=La Vita È Bella&p[url]=http://www.lavitaebella.co.uk/teachers/resources.html&p[images][0]=http://www.lavitaebella.co.uk/images/imageforfacebook.gif&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>

--EDIT--

As some extra information, I can't remember where I originally found this information but here's what the s=100 part means:

The basic approach is you are providing a link to http://www.facebook.com/sharer.php?s=100 which is the basic share page (typically this is shown in a popup).

But I tried changing the numbers and it still goes to the same place.

As for the &p, it's just html code for &p and I think this is the array that Facebook dissects to get at the information.

浅唱ヾ落雨殇 2024-09-10 12:58:30

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

部分,添加

<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 页面的缓存。

^^^ 刷新缓存很重要。

To those (like me) for whom the other answer did not work:

In the <head> and </head>section, add

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

Then go to FB Linter and enter your URL there to refresh FB's cache of your page.

^^^ Refreshing the cache is important.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文