LinkedIn Open Graph显示的图片有误 [英] Wrong image displayed by LinkedIn Open Graph
问题描述
我正在尝试在我的LinkedIn个人资料上共享 http://gbgtechweek.com/.
I'm trying to share http://gbgtechweek.com/ on my LinkedIn profile.
我有这个元标记:
<meta property="og:image" content="http://gbgtechweek.com/img/gbgtechweek_img.png" />
但是,LinkedIn选择从页面显示另一张图片( http://gbgtechweek.com/img/goteborg00.jpg )
However, LinkedIn chooses to show another image from the page (http://gbgtechweek.com/img/goteborg00.jpg)
这是因为大小,我该如何解决?
Is this because of the size, and how do I fix it?
我尝试使用?!"进行更新最后,LinkedIn会重新获取Open Graph数据,但没有用.
I tried to update by using "?!" in the end, so LinkedIn would re-fetch the Open Graph data, but didn't work.
有解决方案吗?
推荐答案
LinkedIn(令人震惊和可悲!)仅将
LinkedIn (shockingly and sadly!) only use official partners from http://embed.ly/providers for 'projects' on your profile. Open Graph only works on the LinkedIn feed/sharing updates area.
否则,您可以上传各种文件类型以显示功能,但是无法明确告诉LinkedIn要在配置文件中使用哪个图像.
Otherwise, you can upload an assortment of filetypes to feature, but no way to explicitly to tell LinkedIn which image to use on the profile.
Embed.ly是否拾取打开的图形您网站上的信息,但他们不优先考虑OG信息.实际上,Embed.ly撰写了一篇博客文章,该文章实际上
Embed.ly does pick up open graph information on your site, but they don't prioritize the OG information. In fact, Embed.ly wrote a blog post that essentially scoffs at the widespread use of Open Graph tags for sharing and how users and large websites supposedly can't trust them.
要回答评论:
您可以重新整理embed.ly上的内容,例如,在将网站添加到个人资料时禁用background-image
,或将background-image
切换到所需的足够长的时间让您在LinkedIn上获得理想的效果.这不是保证的修复程序,因为LinkedIn可能会在以后(任何时间)重新缓存该项目,这会将其设置回您的background-image
.
You can reshuffle things on embed.ly, for example, by disabling your background-image
while you add your website to your profile, or switching your background-image
to the desired one just long enough for you to get the desired effect on LinkedIn. This isn't a guaranteed fix as LinkedIn may recache the project at a later (any!) time which will set it back to your background-image
.
这篇关于LinkedIn Open Graph显示的图片有误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!