Open Graph Tags vs. Twitter Cards: Do You Need Both?
Open Graph is the protocol nearly every platform reads by default. Twitter/X has its own twitter:* tags and only falls back to og:* when they're missing. Here's what to actually put on your page.
August 9, 20266 min read
If you've ever pasted a link into Slack, iMessage, LinkedIn, or Discord and watched a title, description, and image appear, you were looking at Open Graph metadata. It's a protocol Facebook published in 2010, and it quietly became the default that almost every platform reads when it needs to render a link preview. Twitter/X is the one major exception with a metadata system of its own — and that's where the confusion about "do I need both" comes from.
What Open Graph actually is
Open Graph tags live in your page's <head> as og:* meta tags: og:title, og:description, og:image, og:url, og:type, and a handful of others. Any platform that wants to show a rich preview of a link — Facebook, LinkedIn, Slack, Discord, iMessage, WhatsApp — reads these tags when it crawls the URL. There's no separate registration or opt-in; if the tags are present and valid, the preview renders. This is why Open Graph is the one you should treat as non-negotiable: it's the baseline that covers the largest number of surfaces with the least amount of tag-specific work.
What Twitter Cards add
X maintains its own metadata namespace — twitter:card, twitter:title, twitter:description, twitter:image, and a few type-specific fields for player and app cards. X's crawler checks for twitter:* tags first. If it finds a valid twitter:card value, it uses the twitter:* fields to build the preview. If those tags are absent, X falls back to reading your og:title, og:description, and og:image instead. In practice this means a page with only Open Graph tags will still get a card on X — but you lose control over which card type renders, because that choice is made by the twitter:card value, and there's no Open Graph equivalent for it.
That's the actual technical relationship: Open Graph is the general-purpose protocol most platforms read unconditionally, and Twitter Cards are a platform-specific overlay that X checks first and only skips if it's missing. Neither replaces the other. Open Graph doesn't work on X's card-type selection, and Twitter Cards don't work anywhere except X.
The main card types and when they render
- summary — a small, roughly square image next to the title and description. Renders when twitter:card is set to "summary" or when X falls back to og:* tags without finding an explicit card type suited to a large image.
- summary_large_image — a full-width image above the title and description, the format most links use on X today. Requires twitter:card set explicitly to "summary_large_image"; there's no Open Graph field that triggers it.
- player — an embedded video or audio player that plays inline in the timeline. Requires additional twitter:player:* fields pointing at an embeddable player URL, not just a static image.
- app — a card promoting a mobile app with install buttons, built from twitter:app:* fields referencing App Store / Play Store IDs.
Which crawler actually reads which tag
It helps to think of this as two separate bots hitting your page, each with their own read order, rather than one universal "link preview" mechanism. Facebook's crawler (facebookexternalhit) reads og:* tags exclusively — it has no concept of twitter:* fields at all, so setting them has zero effect on how a link looks when shared to Facebook. LinkedIn's crawler (LinkedInBot) behaves the same way: og:* only, no fallback logic needed because there's nothing else to fall back from. Slack, Discord, and iMessage all follow the same pattern — they read Open Graph tags and, as far as public documentation and observed behavior show, don't check twitter:* fields regardless of whether they're present.
X's crawler is the outlier, and it's the only one that runs an actual fallback chain instead of reading a single fixed namespace. It checks for twitter:card first; if a valid value is present, it builds the card from the corresponding twitter:* fields (twitter:title, twitter:description, twitter:image, and so on). For any individual field that's missing even when twitter:card is set — say twitter:image is absent but twitter:title is present — X falls back to the corresponding og:* value for just that field, rather than abandoning the twitter:* card entirely. That's a field-by-field fallback, not an all-or-nothing one, which is a common point of confusion: you don't need to duplicate every twitter:* field for the fallback to work, only the ones where you actually want something different from your Open Graph values.
What happens when only one namespace is set
Set only og:* tags, nothing twitter:*: Facebook, LinkedIn, Slack, Discord, and iMessage render normally since that's all they read anyway. On X, the crawler finds no twitter:card value, so it falls back to building a card from your og:title, og:description, and og:image — but without an explicit twitter:card value, X has historically defaulted to the smaller "summary" card layout rather than the full-width "summary_large_image" layout, even if your og:image is a wide 1200×630px file that would look better large. This is the single most common reason a link looks fine everywhere except X, where it renders as an oddly small thumbnail next to the text instead of a full-width image — the image itself isn't broken, the card type just defaulted small.
Set only twitter:* tags, nothing og:*: this is the less common but more damaging misconfiguration. X renders correctly, since it's reading exactly the namespace it prefers. But every other platform — Facebook, LinkedIn, Slack, Discord, iMessage, WhatsApp — has no fallback to twitter:* at all, so the link unfurls as a bare title-and-URL with no image and no description, or in some cases nothing but the raw link. Because most sharing happens off X (internal Slack links, LinkedIn posts, iMessage links to friends), this misconfiguration tends to cause more real-world broken previews than the reverse, even though it looks correct on the platform whose namespace you actually set.
Set neither: every platform falls back to whatever it can scrape from the page itself — usually the <title> tag for a headline and no image at all, or in some cases a generic favicon-based placeholder. This is the baseline "unstyled" link preview, and it's worth testing what your site produces with genuinely no metadata set, just to know what your worst-case fallback looks like.
So: do you need both?
Yes, if you care how your links look on X specifically. Set full Open Graph tags for every other platform, and add twitter:card (almost always summary_large_image) so X doesn't default to the smaller summary layout or guess wrong. You generally don't need to duplicate twitter:title, twitter:description, or twitter:image if they're identical to your og:* values — X's fallback handles that for you. The one tag that has no Open Graph substitute, and the one most sites forget, is twitter:card itself.
What to actually put on your page
- og:title, og:description, og:image, og:url, og:type — the baseline every page needs regardless of platform.
- og:image at 1200x630px — the safe size that displays correctly across Facebook, LinkedIn, Slack, and X's large-image card without cropping oddly.
- twitter:card set to summary_large_image (or summary, player, app if that's a better fit) — this is the one tag Open Graph can't provide for you.
- twitter:title, twitter:description, twitter:image only if they need to differ from your og:* values — otherwise skip them and let the fallback do the work.
- Validate with a link-preview scanner before shipping, since a missing or malformed og:image is the single most common reason a preview silently fails to render.
This is exactly the gap useopengraph's dynamic OG images and free scanner are built around: generate correctly-sized og:image tags automatically, set twitter:card alongside them, and check the actual rendered output before a broken preview ships to production.
Stop paying per seat
for a usage-shaped problem.
Unlimited teammates, one usage pool. Start free with the scanner — no card required.