The LinkedInBot crawler
When someone shares a URL on LinkedIn, the platform dispatches LinkedInBot to fetch the page and pull Open Graph meta tags for the link preview card. The user agent string:
LinkedInBot/1.0 (compatible; Mozilla/5.0; Jakarta Commons-HttpClient/4.3 +http://www.linkedin.com)
It’s built on Jakarta Commons HTTP Client (Java-based) and does not execute JavaScript. Your OG tags must be in the raw HTML response from the server.
JavaScript-rendered tags are invisible
If your meta tags are injected client-side (React, Vue, etc.), LinkedInBot will never see them. You need SSR, pre-rendering, or static meta tags in your HTML template.
robots.txt
LinkedInBot respects robots.txt. If it’s blocked, either explicitly or via a blanket Disallow: /, no preview gets generated.
User-agent: LinkedInBot
Allow: /
Response requirements
LinkedInBot needs a 200 OK with valid HTML. It follows redirects (301, 302), but auth walls and IP restrictions will block it. The timeout is short, so slow responses mean no preview.
Testing access
Curl your URL with the LinkedInBot user agent:
curl -A "LinkedInBot/1.0 (compatible; Mozilla/5.0; Jakarta Commons-HttpClient/4.3 +http://www.linkedin.com)" https://example.com/your-pageIf your <meta> tags show up in the response, you’re good. LinkedIn’s Post Inspector also shows exactly what the crawler extracts.