og:当我喜欢我网站上的内容时,图像不会显示在我的 Facebook feed 中
可能的重复:
Facebook Sharer 如何选择图像?
好的,我刚刚启动了一个网站:< a href="http://www.haavekuva.fi/" rel="nofollow noreferrer">http://www.haavekuva.fi/ 昨天,我在该网站上实现了 Facebook 的社交插件“fb :like”,因此可以对照片进行点赞。
其他一切都工作正常(“喜欢”以正确的标题、链接等发布到我的提要中),但由于某种原因 og:image 没有显示?当我将鼠标悬停在我的个人资料源上的“喜欢”链接(“Janne 喜欢在 Haavekuva 上购物。”)时,悬停框上仅显示 Facebook 问号。
如果我在 Developers.facebook.com/tools/lint/?url=http%3A%2F%2Fwww.haavekuva.fi%2Fkalenteri%2Fpaiva%2F2010-10-10%2Fshopping%2F 上检查页面,则照片正确可见。
有谁知道为什么会这样吗?
Possible Duplicate:
How does Facebook Sharer select Images?
Ok, I just launched a site: http://www.haavekuva.fi/ yesterday and on that site I've implemented Facebook's social plugin "fb:like", so it's possible to like a photo.
Everything else works fine ("Like" gets published to my feed with correct title, link, etc.), but for some reason the og:image does not show up? When I hover over the the"Like"-link ("Janne likes Shopping on Haavekuva.") on my profile feed, on the hover-box it shows only Facebook question mark.
If I linter the page at developers.facebook.com/tools/lint/?url=http%3A%2F%2Fwww.haavekuva.fi%2Fkalenteri%2Fpaiva%2F2010-10-10%2Fshopping%2F there the photo is correctly visible.
Does anyone have any idea why so?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您的图像尺寸和比例是否正确?
它们的尺寸限制为至少 50x50 像素,最大宽高比为 3:1。
阅读更多内容:Facebook 开放图标签
但也可能是其他东西...< /strong>
直到几天前,我的网站 http://ahrengot.com/ 一切都运行良好。但现在,由于某种莫名其妙的原因,共享页面时图像不会显示。我知道 facebook 会检测到这些图像,因为它们显示在 URL Linter 中。我没有更改代码中的任何内容。这只是一个突然出现的错误。
我认为这可能是他们的一个临时错误,但这确实很烦人。
是的,以上是 Facebook 的一个临时错误。每当 http://ahrengot.com 的页面在 Facebook 上共享时,我的图片就会再次包含在内
Are your images the right size and ratio?
They have a limit of at least 50x50 pixels in size and at max an aspect ratio of 3:1.
Read more: Facebook open graph tags
It could be something else though...
Until a couple of days ago, everything worked fine on my site http://ahrengot.com/. But now, for some inexplicable reason, the images won't show when pages are shared. I know facebook detects the images, because they show up in The URL Linter. I have not changed anything in the code. This just came as a bug out of the blue.
I think this might be a temporary bug on their part, but it sure is annoying.
Yes, the above was a temporary bug on Facebook's part. My images are included again whenever pages from http://ahrengot.com are shared on Facebook
当用户“喜欢”某些内容时,流中不会显示任何图像,除非他们还添加评论(在喜欢时)。不确定这是否是您正在寻找的答案,但希望它能解决问题。
No image will be represented within the stream when a user "Likes" something, unless they also add a comment (at the point of liking it). Not sure if that was the answer you were looking for, but hopefully it clears things up.