Guides › Platforms
X (Twitter) link preview: tags, image size and cache refresh
Crawler: Twitterbot/1.0
X needs twitter:card. For everything else it falls back to og:title, og:description and og:image. Use summary_large_image for a full-width image (2:1, under 5 MB).
Refreshing
There's no public cache-clear tool. Use a variant URL (?v=2) for a re-scrape. To preview, start composing a post with the link and don't publish it.
Gotcha
Your robots.txt must allow Twitterbot. X won't build a card for URLs it's disallowed from fetching.
Minimum tags that work everywhere
<meta property="og:title" content="Page title"> <meta property="og:description" content="One or two sentences."> <meta property="og:image" content="https://example.com/og/page.png"> <meta property="og:url" content="https://example.com/page"> <meta property="og:type" content="website"> <meta name="twitter:card" content="summary_large_image">
Paste your URL into the previewer to see an approximate X (Twitter) card and a list of problems.
Preview your link now
Related
Facebook link preview: tags, image size and cache refreshLinkedIn link preview: tags, image size and cache refreshSlack link preview: tags, image size and cache refreshDiscord link preview: tags, image size and cache refreshWhatsApp link preview: tags, image size and cache refreshiMessage link preview: tags, image size and cache refresh