linkedin-apisocialshare

Linkedin sharing not picking the og:image


I am implementing the post sharing on linkedin and I want to url og:image to be appear on linkedin when the post is shared. But even I have added the correct url to og:image meta tag. It is not appearing in the share dialogue neither on the linkedin after sharing the post.

This is the url I am using to share my post on linkedin:

https://www.linkedin.com/shareArticle?mini=true&url=http://my_website.com:9000/post/40420&title=Test&summary=Description&source=MyWebsite

Solution

  • LinkedIn has this requirements for sharing (but be careful as the quotes look wrong on the LinkedIn webpage - ' matched with ")

    Below are the og: tags that must exist and their correct format:

    Here are the image requirements specific to the LinkedIn sharing module:

    You can find more details here: https://www.linkedin.com/help/linkedin/answer/46687/making-your-website-shareable-on-linkedin?lang=en