next-seo
next-seo copied to clipboard
meta tags on Linkedin not working as it requires both name and property to be in meta tags.
Meta tags on Linkedin are not working as it requires both name
and property
to be in meta tags.
URL to inspect OG tags on Linkedin: https://www.linkedin.com/post-inspector/inspect/https:%2F%2Fgourav.io%2Fblog%2Fautohotkey-scripts-windows
Tags which are not working: title, Image, Description, Author
All three name
, property
, and content
should be there.



Also, the author tags needs to be name instead of property

I'm facing the same situation here. Pretty embarrassing.
Anyone update on this issue?
@GorvGoyl I see that your link is shown properly in Post inspector. How did you solved this?
@ernests it's taking props from the homepage instead of that specific link
Solved the problem. First of all I had a typo in canonical url tag (og:url). Apparently linkedin fetch this url and then checks all the tags. Second, I used NextSeo additionalMetaTags option to add tags it wouldn't see.
@ernests, I'm still facing the issue... could you share that page link so that I can match my metatags and find the root cause
@GorvGoyl As I had typo in og:url, I did bunch of changes and I'm not sure what exactly worked out (woodoo debugging).
By looking at your page, I think you have similar problem with Canonical url. LI post inspector has picked your domain name as Canonical url. It redirects to it and picks tags from there. By looking at your code I see that you have set meta canonical to your blog article. Try to set it to your domain name.
There has been bunch of stackoverflow questions regarding LI meta tags. Here are some links to dig into: https://stackoverflow.com/questions/58236219/open-graph-description-meta-tag-is-not-working-in-linkedin https://www.revoltlib.com/linkedin-social-share-url-broken-ticket.html
Only thing which doesn't work now for Linkedin post inspector is Publish date. Haven't figured out why it won't pick it. SO topic on this - https://stackoverflow.com/questions/58511410/creating-meta-tags-for-linkedin-publish-date-not-found
I had the same issue and for me, it was realizing that my og:url
property was missing the https://
prefix. Without it, LinkedIn was ingesting my canonical URL incorrectly (it led to my 404 page, which meant the og:tags that were being read were my homepage's). Hope this helps somebody.
Thanks for the follow up info everyone. Always very helpful.