Maximus Agency Start a project
LinkedIn Open Graph Image Challenges: Navigating Cloudflare
← Insights

SEO

LinkedIn Open Graph Image Challenges: Navigating Cloudflare

24 Nov 2023 · Grant Brits

When Facebook and Twitter show your OG image but LinkedIn refuses: Post Inspector vagueness, image speed, and the Cloudflare rules that block LinkedInBot.

Getting LinkedIn to pick up Open Graph featured images is a recurring Stack Overflow pain. Facebook and Twitter can look fine while LinkedIn still fails. Here is what actually mattered when we chased it down.

Meta tags that work

Include a clear OG set: type, title, image, URL, description, site name, locale, and updated time. Featured images should be around 1200×627 (1.91:1) and not enormous. Dynamically resized images need to respond quickly; LinkedInBot will treat a slow image like a broken one. Aim for under a second:

curl -o /dev/null -s -w '%{time_total}\n' -H 'User-Agent: LinkedInBot/1.0' https://yourwebsite.com/your-image.jpg

Cloudflare is often the real blocker

Managed Challenges and Super Bot Fight Mode’s Static resource protection can stop LinkedInBot cold. Turn static resource protection off if everything else looks correct. If LinkedInBot still hits a Managed Challenge, add a WAF custom rule to skip challenges for that user agent, and check Security → Events for evidence.

Post Inspector caches

Append ?1 or ?2 to force a fresh fetch while you are testing. Once it looks right, drop the query string and LinkedIn’s cache will usually follow.

OG is a marketing surface as much as a developer one. If Cat is shipping campaigns and LinkedIn previews look broken, this is the plumbing underneath.

Enquire

Got a similar problem?

Forms land in our admin the same day, and we get an email. Cat and Grant read them. No ticket queue.