We looked at your provided site and we can confirm the Yoast SEO is generating all the necessary social open graph meta tags correctly as expected.
When then check the image that you have defined as the og:image and we can confirm that it’s meet the Linkedin requirements. Therefore, we are not sure why the Linkedin isn’t showing the correct image.
That said, according to the Linkedin, if the image meets the requirements, but it still does not appear in updates on LinkedIn, your website may be blocking us from pulling the image or the image may be located on a protected directory or website.
For further assistance, please visit the developer site forums.
Closed due to inactivity.
Tony
(@mindfire-tnagy)
Sorry for the re-open, but in case it’s related and helps someone else, I was told by LinkedIn support that they prioritize oEmbeds over Open Graph tags. By default (I think), WordPress adds the following lines in the <head> section:
<link rel="alternate" type="application/json+oembed" href="https://www.example.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.example.com%2F" />
<link rel="alternate" type="text/xml+oembed" href="https://www.example.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.example.com%2F&format=xml" />
In the resultant JSON/XML, thumbnail_url corresponds with my post’s Featured Image. This is what LinkedIn has been sharing as opposed to my Open Graph tags. I removed those lines via:
remove_action('wp_head', 'wp_oembed_add_discovery_links', 10);
remove_action('wp_head', 'wp_oembed_add_host_js');
I tried sharing again with a different page within my site that hadn’t be cached for 7 days (sigh LinkedIn) and it started pulling the correct OG image.
Tony hello..
first of all thank you for opening again the ticket and give the solution.
But please tell me somwthing because i have the same problem.
these lines code:
remove_action(‘wp_head’, ‘wp_oembed_add_discovery_links’, 10);
remove_action(‘wp_head’, ‘wp_oembed_add_host_js’);
where are put? which file of wordpress?
thank you very much for your time..