I have some issues with open graph previews loading properly on LinkedIn. The title/description come through fine, however the images don’t load when sharing posts, etc.
I’ve been on to the LinkedIn tech team who’ve advised that they appear to be being blocked (see user agent / response below).
The site itself builds/loads fine as far as I can see, and there are no issues on other social media sites (e.g. Twitter, Facebook, etc), e.g:
I can’t see anything that I have configured/set myself that would prevent access. Plus the title/description are being loaded OK. It just seems to relate to the OG:image.]
Any ideas? Does Netlify’s CDN block access to LinkedInBot’s user-agent? If so… how do I stop it doing so please?
** USER-AGENT **
LinkedInBot/1.0 (compatible; Mozilla/5.0; Jakarta Commons-HttpClient/3.1 +http://www.linkedin.com)
** RESPONSE **
See here: https://gist.github.com/rto/6137d29fe79e49df38e9dcea98e6bc52