I'm trying to share http://gbgtechweek.com/ on my LinkedIn profile.
I have this meta tag:
<meta property="og:image" content="http://gbgtechweek.com/img/gbgtechweek_img.png" />
However, LinkedIn chooses to show another image from the page (http://gbgtechweek.com/img/goteborg00.jpg)
Is this because of the size, and how do I fix it?
I tried to update by using "?!" in the end, so LinkedIn would re-fetch the Open Graph data, but didn't work.
Any solutions?
To add the OG image, scroll to the bottom to find the Upload button. Click it to add an image at a recommended size of 1200 pixels by 630 pixels. You'll need to save (Update) the post or page for the changes to take effect.
LinkedIn uses something called Open Graph meta tags to get the data pertaining to the image, title, and description of your link. These are what you could debug using the free tool Post Inspector.
LinkedIn can take the image from tag named 'oEmbed' despite og:image tag exists.
Here an exapmle:
<link rel="alternate" type="application/json+oembed" href="https://www.s-sols.com/api/oembed/1.0/embed?url=https%3A%2F%2Fwww.s-sols.com%2Fhow-make-multipage-website">
I faced with that problem in WordPress. The cure was to remove this tag as described here:
remove_action('wp_head', 'wp_oembed_add_discovery_links', 10);
remove_action('wp_head', 'wp_oembed_add_host_js');
remove_action('rest_api_init', 'wp_oembed_register_route');
remove_filter('oembed_dataparse', 'wp_filter_oembed_result', 10);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With