Guide · By PostBoost team · · Markdown
Short answer: X builds a link card from the tags in your page's <head>: twitter:card picks the card type, and the title, description and image come from twitter:title, twitter:description and twitter:image, falling back to og:title, og:description and og:image. When the card is missing, small or out of date, check eight things in this order: media attached to the post, no twitter:card tag, no image tag, an image X can't fetch, a page X's crawler can't reach, a redirect to the wrong page, the small summary card type, or an old copy that X keeps for about 7 days. Paste the link into the free link preview checker to see what X will read from your page right now.
X has no "scrape again" button like Facebook's Sharing Debugger, and the Card Validator stopped showing previews in 2022. So the fix for a stale card is a new URL, and the fix for a scheduled post is to get the tags right before it goes out.
How X builds a link card
When a post contains a link, X's crawler, which identifies itself as Twitterbot, fetches the page and reads its card tags (Twitter developer docs, 2014 archive). X's Cards markup page lists the tags and their limits: a title of up to 70 characters and a description of up to 200. X's developer pages block automated reads, so we checked these figures through search engines' copies of the official page.
The minimum markup for a large card:
<meta name="twitter:card" content="summary_large_image" />
<meta property="og:title" content="X link preview not showing? 8 fixes" />
<meta property="og:description" content="Why X shows a bare link and how to fix each cause." />
<meta property="og:image" content="https://example.com/og/x-link-preview.png" />
With those four tags, X takes the title, description and image from Open Graph. Add twitter:title, twitter:description or twitter:image only when X should show something different from LinkedIn and Facebook. The twitter:card tag is the one to add even when Open Graph is complete: summary_large_image gives the large image card, summary a small square thumbnail next to the text.
What the card looks like now
X has changed the card several times. In October 2023 it dropped the headline and description under the image, leaving only the image with the domain overlaid on it (Social Media Today). In November 2023 Elon Musk said the title would come back as an overlay "in the upper portion of the image", with "URL overlaid at the bottom" (WCPO/AP). Two consequences:
- The image carries the card. The description no longer shows under the image, so put the point of the page in the image and the title.
- Keep text away from the image's top and bottom edges, where the title and domain sit. For the size, see X image sizes: a 1200×628 image works on X, LinkedIn and Facebook.
The 8 causes, in the order to check them
| # | Cause | What you see | Fix |
|---|---|---|---|
| 1 | An image, GIF or video is attached | The media, no card | Remove the media, or accept a media post with a plain link |
| 2 | No twitter:card tag |
A plain link or a small card | Add twitter:card with summary_large_image |
| 3 | No twitter:image or og:image |
A card without an image, or none | Add an absolute https:// image URL |
| 4 | X can't fetch the image | A card without an image | Make the image public, under 5 MB, not blocked by robots.txt |
| 5 | X can't reach the page | A plain link | Allow Twitterbot in robots.txt, firewall and CDN bot rules |
| 6 | A redirect to another page | The other page's card | Link the final URL; check login walls and cookie gates |
| 7 | twitter:card is summary |
A small square thumbnail | Switch to summary_large_image |
| 8 | X holds an old copy | Last week's title or image | Post a new URL; rename the new image |
1. Media attached. A post with a photo, GIF or video shows the media instead of a link card, on X, Facebook, Threads, Bluesky and LinkedIn (OneUp). The link stays in the text as a plain, shortened link. If you want the card, post the link without media.
2. No twitter:card tag. The tag sets the card type. Without it, X may fall back to the small summary card or show only a plain link, even when the Open Graph tags are complete. It is a common gap on pages built only for Facebook and LinkedIn.
3 and 4. No image, or one X can't fetch. The image URL must be absolute and public. The 2014 docs put it plainly: "If an image URL is blocked, no thumbnail or photo will be shown." Images behind a login, on a staging host or disallowed in robots.txt fail this way. X's Cards markup page sets the size limit: images must be under 5 MB. A 1200×628 JPEG is far below that.
5. The page is blocked. "Twitter's crawler will respect robots.txt when scanning URLs," and "If a page with card markup is blocked, no card will be shown" (2014 archive). The same docs suggest an exception for the Twitterbot user agent, such as:
User-agent: Twitterbot
Allow: /
robots.txt is not the only gate. A firewall or CDN rule that challenges bots (a JavaScript check, a CAPTCHA, a country block) also leaves X with nothing to read, and so does a page that answers with an error.
6. A redirect. X follows the link to the final page and reads that page's tags. A link that ends on a login page, a cookie wall or a different language version gets that page's card. Link the final URL, and check that the page shows its tags to a visitor without cookies.
7. The small card. summary is a valid card type, so nothing is broken, but X shows a small square thumbnail. Switch to summary_large_image for the large card.
8. An old copy. Twitter's docs said: "Your content is cached by Twitter for 7 days after a link to your page with card markup has been published in a tweet" (2014 archive), and Twitter's 2022 announcement still described a cache of up to 7 days (gihyo.jp). X has not published a newer figure. If you fixed the tags after the link was first posted, the next post of the same URL can still show the old card.
How to test a link before you post it
Twitter removed the preview from its Card Validator in August 2022 and pointed people to the post composer instead (gihyo.jp). That leaves three checks, from quickest to most exact:
-
Read the tags. Paste the URL into the X card validator. It draws X's card from X's order (
twitter:*first, thenog:*) and flags a missingtwitter:cardtag, a missing card image, and a title over 70 or a description over 200 characters. To see the redirects a link goes through and the page it ends on, use the link preview checker, which lists both. -
Check the crawler can get in. Both tools fetch the page as PostBoost, not as Twitterbot, so a rule aimed at Twitterbot won't show up there. Open
https://your-site.com/robots.txtand look for aTwitterbotorUser-agent: *block that disallows the path, then request the page with X's user agent:curl -sI -A "Twitterbot/1.0" https://example.com/blog/x-link-previewExpect
HTTP/2 200andcontent-type: text/html. A403,503or a redirect to a challenge page means your firewall or CDN turns X away. This is a rough test: the request comes from your machine, not from X's servers, so a rule that checks the crawler's IP address can still answer X differently. -
Preview in X's composer. Paste the link into a new post on x.com and look at the card before you post. This is X's own read of the page, cached copy included.
The checker is also an API endpoint, so a build step or an AI agent can run it on every new page. It needs no account:
curl -s -X POST "https://postboost.co/app/api/tools/link-preview-checker" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/blog/x-link-preview"}' | jq '{final_url, card: .tags["twitter:card"], x: .previews.x, warnings}'
The response's previews.x holds the title, description, image and domain X would use, and warnings lists problems such as a relative og:image, an error status or a redirect to another host (API reference). The same check is the checkLinkPreview tool on PostBoost's MCP server.
How to refresh a card X already cached
X has no button that makes it read a page again. To show a fixed card sooner than the cache allows, give X a URL it hasn't seen:
- Add a query parameter.
https://example.com/blog/x-link-preview?utm_source=xis a new URL to X's cache but the same page to your server. The free UTM builder makes these, and the tags also tell you in analytics which visits came from X (see UTM parameters for social media). - Rename the new image. If you replaced the image at the same URL, X can keep showing the old one. Give the new file a new name, or add a version such as
?v=2to thetwitter:imageorog:imageURL.
This matches Twitter's own 2022 advice for refreshing a card: post a new URL, such as a shortened link or the URL with an added parameter, so the crawler reads the page again (gihyo.jp).
Scheduled posts: X reads the page when the post goes out
X builds the card on its own side for every post, whichever app created it. When PostBoost publishes to X, it sends the post's text and the IDs of any uploaded media to X's API, and nothing about the card. X then fetches the page, or uses its cached copy, the moment the post is created. Two rules follow:
- Fix the tags before the scheduled time. A card is set when the post goes out. Fixing the page an hour later doesn't change a published post.
- Keep the page reachable at that time. A page that is down for maintenance, behind a login, or not yet published when the post goes out gives X nothing to read. Schedule the post for after the page is live.
How to get the card in PostBoost
- In the PostBoost editor, write the post and paste the full link, starting with
https://. X shortens every link to 23 characters, whatever its length (see X character limit). - Leave the X version without images or video if you want the card. With media attached, the editor's X preview shows the media and no card, the same as X.
- Check the X preview in the editor. PostBoost reads your page and draws the card the way X does: the image, the title in a box on the image (from
twitter:title, elseog:title) and the domain underneath. It is PostBoost's read of the page now, not X's cached copy, so if the editor shows the new image and X's composer the old one, use a new URL. If the page has neithertwitter:imagenorog:image, the editor uses the first image on the page, which X won't do, so check the image tags in the X card validator as well. - Schedule the post, and keep the page public until it has gone out.
To post with an image and still point people to the page, use the image and keep the link in the text: X shows the image, and the link stays clickable. The social media image sizes tool lists the sizes for both.
Is a missing card why link posts get low reach?
Often not. X's head of product said in October 2025 that "posts with links tend to get lower reach", explained it by the browser covering the post so people forget to engage, and advised that "the post should stand alone as great content so write a solid caption" (Social Media Today). A broken card makes that worse, because the post shows a bare link. Fix the card first, then write the post so it is worth reading without a click.
A pre-post checklist for X links
twitter:cardissummary_large_image.og:title(ortwitter:title) is within 70 characters, the description within 200.og:image(ortwitter:image) is an absolutehttps://URL, public, around 1200×628, with no text at the top or bottom edge.- robots.txt, the firewall and the CDN let Twitterbot read the page and the image.
- The link goes straight to the final page, without a login or cookie wall.
- The post has no media attached, if you want the card.
- If the URL was posted before with the old tags, add a query parameter.
- The page is live before the scheduled time.
The X card validator checks the tags behind the first three; for the fourth, use the robots.txt and curl steps above. For the same problem on other networks, see Facebook link preview not showing and LinkedIn link preview not showing.
Do this in PostBoost
Free tools for this guide
Free tool
Link preview checker (Open Graph)
Paste a URL to see its Open Graph and X card tags, how X, LinkedIn, Facebook and Slack would show the link, and what to fix first. Free, no signup.
Free tool
X card validator (Twitter card checker)
See the card X draws for your link: twitter:card type, which tag each part comes from, and the 70-character title and 200-character description. Free.
Free tool
UTM builder for social media links
Build UTM-tagged links for social posts in your browser: network presets, live preview, naming warnings and saved presets. Free, no signup.
FAQ
Why is my link preview not showing on X?
The most common causes are an image or video attached to the post (X then shows the media, not a card), a page without a twitter:card tag or any image tag, an image X can't fetch, a robots.txt rule or firewall that blocks X's crawler (Twitterbot), and an old card X still holds for that URL. Run the URL through a link preview checker to see which tags X will read.
How do I refresh a Twitter card on X?
X has no button for it. Twitter's card docs say a card is cached for 7 days after the link is first posted. To get a fresh card sooner, post a URL X hasn't seen, for example with an added query parameter such as a UTM tag, and give the new image a new file name.
Does the Twitter Card Validator still work?
Not for previews. Twitter removed the preview from the Card Validator in August 2022 and pointed people to the post composer instead. Paste the link into a new post on X (without posting it) or use a link preview checker that reads the twitter:* tags and their Open Graph fallbacks.
Do I need twitter:card tags if my page has Open Graph tags?
Add at least twitter:card. X reads twitter:title, twitter:description and twitter:image first and falls back to og:title, og:description and og:image, but the twitter:card tag is what picks the card type. Use summary_large_image for the large image card; summary gives a small square thumbnail.
Why does my scheduled X post have no link card?
X builds the card itself when the post is created, so a scheduled post shows whatever your page and X's cached copy say at that moment. In PostBoost the post goes to X as text plus any media, so attached media replaces the card. Fix the tags before the scheduled time and keep the page reachable for X's crawler.
Do links reduce reach on X?
X's head of product said in October 2025 that link posts often get lower reach because the browser covers the post and people forget to engage, and advised writing a caption that stands on its own. A missing card is a separate problem: fix the tags first, then judge reach.
Sources
- X developer docs: Cards markup (twitter:card, title 70, description 200)
- Twitter developer docs (2014 archive): Cards getting started, caching and robots.txt
- gihyo.jp: Twitter removes previews from the Card Validator (August 2022)
- Social Media Today: X's link previews drop headlines and descriptions (October 2023)
- WCPO (AP): Elon Musk says news article headlines are returning to X
- Social Media Today: X tests in-app links to address link post reach (October 2025)
- OneUp help: images and link previews
- PostBoost API reference: checkLinkPreview