Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LinkedIn can't read the meta image when generating previews #893

Open
coppolaemilio opened this issue Aug 7, 2024 · 0 comments
Open

LinkedIn can't read the meta image when generating previews #893

coppolaemilio opened this issue Aug 7, 2024 · 0 comments
Labels
topic:content Issues and PRs related to static content

Comments

@coppolaemilio
Copy link
Member

I'm not sure what they changed, but it used to work. LinkedIn used to be able to show a preview of the blog post with the proper image, now it only pulls the author image.

If you want to check an example, you can do so here: https://www.linkedin.com/post-inspector/inspect/
And paste any article to test: https://godotengine.org/article/introducing-the-improved-ufbx-importer-in-godot-4-3/

I've tried modifying the meta properties at the <head> of the default layout but had no luck.
In my tests I did:

  1. <meta name="image" property="og:image" content="{{ site.url }}{{ page.image | default: '/assets/share-image.webp' }}">
  2. <meta property="og:image" content="{{ site.url }}{{ page.image | default: '/assets/share-image.webp' }}">
  3. <meta name="twitter:image" content="og:image" content="{{ site.url }}{{ page.image | default: '/assets/share-image.webp' }}">
    But it is still unresolved. If anyone knows how to make the changes feel free to comment here or send a PR. Thanks!
@coppolaemilio coppolaemilio added the topic:content Issues and PRs related to static content label Aug 7, 2024
@coppolaemilio coppolaemilio changed the title LinkedIn can't read the meta image. LinkedIn can't read the meta image when generating previews Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic:content Issues and PRs related to static content
Projects
None yet
Development

No branches or pull requests

1 participant