领英(LinkedIn)未使用og:image [英] LinkedIn not picking up og:image
问题描述
对于我的一个网站,我正在使用Open Graph来丰富从我的网站共享的帖子.但是,LinkedIn并未选择og:image中指定的图像.通过一个简单的PHP脚本,LinkedIn机器人的图片被修改为200px X 200px.
For one of my websites I am using Open Graph to enrich posts shared from my website. But LinkedIn is not picking the image specified in og:image. The image is modified for the LinkedIn bot to be 200px X 200px by a simple PHP script.
我发现有些类似的问题( Linkedin没有得到缩略图),但是这个问题尚未解决.
I found some experiencing a similar problem (Linkedin not getting thumbnail image) but this problem is not yet solved.
推荐答案
我知道它很旧,但这有所帮助.
I know it's old but this helped.
Linkedin将链接预览内容缓存7天.您必须执行以下操作以清除Linkedin预览缓存:
Linkedin caches link preview content for 7 days. You have to do the following to clear Linkedin Preview cache:
第1步:访问 https://www.linkedin.com/post-inspector/inspect /
第2步:输入您的网址,然后点击检查,您将看到更新的预览图像
Step 2: Enter your url and click on Inspect, You will see the updated preview image
第3步:现在尝试在Linkedin上共享您的网址
Step 3: Now try sharing your url on Linkedin
这篇关于领英(LinkedIn)未使用og:image的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!