LinkedIn Share Button - Doesn't recognize og:image

别说谁变了你拦得住时间么 提交于 2019-12-10 15:14:01

问题


I'm trying to share a page with og tags. One of the tags is og:image as described in the following link: https://developer.linkedin.com/documents/setting-display-tags-shares The image I share is legal.

For some reason linkedin doesn't show the image once I'm sharing the page through LinkedIn Share button (although it shows the other tags' values).

My og:image tag:

meta property="og:image" content="http://mywebsite.comm/difa2fz.png"

Any idea?


回答1:


Please visit http://ogp.me/ and apply all the mandatory tags. 4 tags are mandatory others are optional. Also you need to mention the schema og: http://ogp.me/ns# in the HTML tag of page as prefix.




回答2:


I have added all og:image tags.LinkedIn takes 3 images on sharing and one among this is og:image I have specified and other two random images from the page.How can I restrict LinkedIn to take the sibngle og:image I have specified



来源:https://stackoverflow.com/questions/12018064/linkedin-share-button-doesnt-recognize-ogimage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!