Linkedin共享网址不显示og:image [英] Linkedin sharing url do not show og:image

查看:96
本文介绍了Linkedin共享网址不显示og:image的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在LinkedIn共享URL中共享帖子时遇到og:image问题.这是带有配置的og标签的测试文章.

I have a problem with og:image on sharing post within LinkedIn sharing URL. Here is test post with configured og tags.

LinkedIn使用其他og:tags,但不使用其他og:image.

LinkedIn takes other og:tags, but not og:image.

我已经使用W3验证器检查了页面.有一些错误,但它们似乎并不重要.我已经检查了其他页面中可使用的LinkedIn共享,并且也存在类似的html错误.

I've checked page with the W3 validator. There are some errors, but they seem not really important. I've checked other page with working LinkedIn sharing and there are also similar html errors.

还尝试使用无格式URL(

Also have tried to use cropped image, using shchemeless URL (like in this article), add og:prefix to HTML.

有人知道如何解决此问题吗?

Does anybody know how to fix this?

推荐答案

我发现您的根 HTML 中不包含prefix="og: http://ogp.me/ns#" 而且您的og:图片大小不适用于通用社交媒体共享.您最好提供1600:800 img(2:1)的宽高比.并且文件大小小于 1mb .

I found your are not including prefix="og: http://ogp.me/ns#" in your root HTML And your og:image size is not appropriate for universal social media sharing. Its better you give 1600:800 img (2:1) aspect ratio. And the file size below 1mb.

这是如何为通用提供og:images的链接社交媒体

我希望这个答案能对您有所帮助.

I hope this answer would help you.

谢谢

这篇关于Linkedin共享网址不显示og:image的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆