我的网站有正确的 Open Graph 元数据。为什么 Linkedin 不显示图片?

My website has the Open Graph meta data correctly. Why doesn´t Linkedin show the image?

例如,某个页面的 URL 具有 og:<meta property="og:image" content="https://url.com/wp-content/uploads/2016/09/image.png">

如果我在 LinkedIn 中写 URL 会显示之前的图片,但是如果我写 URL https://url.com/suburl 则不会显示任何图片,并且 og 是相同的:<meta property="og:image" content="https://url.com/wp-content/uploads/2016/09/image.png">

LinkedIn 为什么要这样做?事实上,这两个页面都有 og 元数据。我做错了什么?

在此处查看答案:

简而言之,这可能是因为您的网页上缺少 OG 前缀:

 <html lang="en-US" prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# website: http://ogp.me/ns/website#">

手动添加,或者如果您使用的是 WordPress 主题,请使用 Complete Open Graph 等插件为您管理:

https://wordpress.org/plugins/complete-open-graph/