Reputation: 1
How does one control what image and title appear when posting a URL to LinkedIn? I manage my company's website efficienty and write all the HTML, CSS, jS and PHP when necessary. One nut I cannot crack however is getting LinkedIn to pull the correct image and title when I make a post.
LinkedIn published the following to allow og tags to solve this problem:
I am having difficulty making this work
This is key for me and my team for we frequently post stories, case studies and advertisements which we can't share on LinkdIn because LinkedIn logic usually (not always) doesn't pick up any of the images in our HTML. Is there a meta tag or something I need to embed in the HTML line?
Upvotes: -1
Views: 64
Reputation: 1852
You can use this tool to test https://www.linkedin.com/post-inspector/inspect/ your page. Linkedin seems to be using the open graph protocol from Facebook https://ogp.me/
<meta name="image" property="og:image" content="[Image URL here]">
Upvotes: 0