What is Twitter Cards?
Meta tags that control how a URL appears when shared on Twitter/X — image, title, description, and card type (summary, summary_large_image, app, player).
Twitter Cards are a set of `<meta name="twitter:*">` tags you embed in your HTML head so that when someone shares your URL on Twitter, the tweet displays a rich preview card instead of a bare link. The four card types: `summary` (small square thumbnail), `summary_large_image` (full-width hero image — the default for content sites), `app` (mobile app install card), `player` (embedded video/audio). Most sites also share Open Graph tags, which Twitter falls back to if Twitter Cards aren't present — so OG is the higher-leverage spec. Twitter Cards override OG when both are present. The mandatory tags: `twitter:card`, `twitter:title`, `twitter:description`, `twitter:image`.