og:图像不显示 [英] og:image doesn't show
问题描述
我一直在测试facebook的开放图形标签,当我在Facebook上分享我的网站链接时,我无法显示我的徽标。
I've been testing the open graph tags for facebook and I can't get my logo to show when I share my website link on facebook.
如果我使用lint调试器(https://developers.facebook.com/tools/debug)我得到:
If I use the lint debugger (https://developers.facebook.com/tools/debug) I get:
**Open Graph Object Properties**
og:url http://www.movimenting.me/
og:type website
og:title http://www.movimenting.me/
og:updated_time 1318267537
**Raw Open Graph Document Information**
Canonical URL http://www.movimenting.me/
Meta Tag <meta property="fb:app_id" content="210576275672723" />
Meta Tag <meta property="og:image" content="http://www.movimenting.me/images/logo2.jpg" />
Meta Tag <meta property="og:title" content="Movimenting.me" />
Meta Tag <meta property="og:type" content="website" />
Meta Tag <meta property="og:url" content="http://www.movimenting.me" />
Meta Tag <meta property="og:site_name" content="Movimenting.me" />
你可以看到它在原始部件上获得了og:image,但在对象属性上没有..
You can see that it gets the og:image on the raw part, but doesnt on the object properties..
这是为什么?我总是指定相同的URL并且opengraph.in获得正确的标签..
Why is this? I always specify the same URL and opengraph.in gets the right tags..
提前感谢。
lint现在一切都干净了:
everything comes out clean now on lint:
https://developers.facebook.com/tools/debug/og/object?q=http %3A%2F%2Fwww.movimenting.me%2F
图片,区域设置,您的名字。没有错误或警告或其他。
image, locale, you name it. no errors or warnings or others.
但是,当您在Facebook上分享链接(www.movimenting.me)时,没有图像显示。
BUT STILL, when you share the link (www.movimenting.me) on facebook, no image apears.
我现在可以做什么,或者我现在应该寻找什么?
What can I do now, or what should I look for now?
哦,顺便说一下我现在回想起来:如果我删除og :图片标签,它确实会找到30张图片来分享,但不会找到徽标。这很奇怪,因为徽标是第一个..
Oh, btw now i recall: if I remove the og:image tag, it will indeed find 30 images to share, but not the logo. It's so strange, since the logo is the first one..
现在怎么样?
提前感谢
推荐答案
调试器中是否有任何错误?也许app_id与该域名不匹配?
Is there any errors in the debugger? Maybe the app_id doesn't match that domain?
这篇关于og:图像不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!