Technical SEO

Twitter Cards specifications: a comprehensive technical reference

Twitter Cards enable you to attach rich media to Tweets that link to your content. When a user Tweets a URL that you control, and that URL references supported metadata, Twitter...

Mara Ellison
Twitter Cards specifications: a comprehensive technical reference

What are Twitter Cards and how they work

Twitter Cards enable you to attach rich media to Tweets that link to your content. When a user Tweets a URL that you control, and that URL references supported metadata, Twitter can attach a photo, video, or app experience directly in the Tweet. This guide explains card types, core metadata, validation, and production best practices so your links consistently render the intended summary card, product card, or player card in timelines and search.

Core card types and use cases

Twitter defines several card types optimized for different content and experiences. Choose the card type that matches your target outcome: drive traffic with a summary, sell with product details, or stream media with a player. Each type requires specific properties for title, description, images, and optional app deep linking. Below are the primary web and app card variants and when to use them.

Summary Card with Large Image

The Summary Card with Large Image is ideal for articles, blog posts, and landing pages where a prominent visual drives engagement. It includes a larger image than the standard summary, helping your link stand out in the timeline. Use this when the visual is central to the message and you want higher click-through from the card.

Summary Card

The standard Summary Card suits most news, blog, and content URLs. It shows a compact layout with a small image, title, and description. It is efficient for feeds where many cards appear, providing enough context without heavy visuals while still benefiting from branded imagery.

Photo Card

The Photo Card is optimized for image-led stories. It displays a large, scroll-stopping image with minimal companion text. Use it for portfolios, galleries, or product showcases where the photo itself is the primary hook.

App Card

An App Card installs or launches your native app and passes profile or deep-link data into the app experience. It requires association with a supported mobile app and appropriate developer accounts. Use this when you want to drive app installs or open an in-app flow from a Tweet.

Player Card

The Player Card is tailored for audio and video content, placing a media player within the Tweet. It supports autoplay, display of track metadata, and calls to action such as play or follow. Use this to promote podcasts, music tracks, or short videos with in-Twitter playback.

Product Card

Product Cards surface pricing, availability, and call-to-action buttons directly in the Tweet, enabling discovery and conversion without a clickthrough. They are appropriate for merchants and brands with catalog integrations that support stock and pricing signals.

Required metadata and best property set

To ensure reliable rendering, each card type relies on a defined set of meta tags or app-to-Twitter parameters. Minimum requirements typically include card type, title, description, and at least one valid image URL that meets size and format rules. For app cards, you also specify app name, app platform, and either a App Store ID or Google Play ID. Use the most specific, accurate values for title and description to maximize relevance and click-through.

Basic meta tags for web cards

Place these tags in the <head> of the page referenced in the Tweet. The card type is determined by the combination you include; omitting required properties may cause fallback rendering or no card attach at all. Validate via Twitter’s validator after updates to catch missing or malformed tags.

Validating cards before they go live

Validation helps you confirm markup correctness and preview exactly how the card will appear in a Tweet. Use the official validator to test URLs, debug errors, and verify that images and dimensions meet policy. Re-validate after content or markup changes, because cached card data can persist and cause stale renders.

Validation checklist

  • Use stable, canonical URLs that you control and that return a 200 response.
  • Include required meta tags for the chosen card type, such as twitter:card and twitter:title.
  • Ensure images are accessible over HTTPS, meet aspect ratio guidance, and are served with correct Content-Type headers.
  • Confirm that no redirect chains prevent the crawler from reading metadata.
  • Check that app cards include correct developer credentials and platform identifiers.

Validator tool and curl example

Run the URL through the validator, or use curl to simulate the request and inspect the response headers and tags. This confirms that the page is reachable and the metadata are discoverable before you promote the content.

Image and media requirements

Twitter enforces minimum and recommended dimensions to make cards consistent and readable. Serving images that meet or exceed these recommendations reduces downscaling artifacts and improves appearance across devices. Always use HTTPS, correct MIME types, and consider file size to balance quality and load speed.

Card type Image spec (minimum) Recommended max file size Notes
Summary Card with Large Image 280x150 px 5 MB Larger image area; maintain aspect ratio to avoid cropping.
Summary Card 120x120 px 5 MB Square thumbnail; recognizable at small sizes.
Photo Card 300x150 px 5 MB High-impact visuals; landscape orientation preferred.
Player Card 4096x4096 px (icon), 1920x1080 px (preview) 5 MB for thumb, 10 MB for preview Icon is square; preview uses 16:9 ratio.
App Card 64x64 px 500 KB Small icon shown in app card; must be distinct at small size.

Implementation best practices and common pitfalls

Implement cards with caching, consistent URLs, and HTTPS to ensure fast, reliable rendering. Use permanent URLs for authoritative content, and avoid parameters that break metadata discovery. Plan for responsive images with srcset and correct aspect ratios, and test across devices. Avoid common issues such as delayed page loads, dynamic changes after first fetch, or mismatched card types that cause fallback behavior.

Next steps for deploying Twitter Cards

Begin by choosing the card type that aligns with your content goals, add the required meta tags, validate with Twitter’s tool, and monitor rendering in real Tweets. Iterate on image sizes and descriptions based on performance data, and keep your markup and content aligned with Twitter’s latest specs for consistent, reliable social amplification.

Tags: twitter cards, social metadata, open graph, web sharing, technical seo

FAQ

Reader questions

How long does it take for a new card to appear after I update markup

Recrawl and recache typically complete within minutes to a few hours. Re-validate in the tool to prompt faster discovery and to clear stale cache.

Can one page support multiple card types

Each page attaches one primary card type based on the metadata present. Use the most appropriate type for the page’s goal rather than attempting multiple distinct cards on a single URL.

Do cards affect SEO or search rankings directly

Cards themselves are a social signal and can improve click-through from social feeds. By making content more engaging and shareable, they indirectly support visibility but do not directly change organic search rankings.

What happens if image URLs become unavailable

Missing or inaccessible images can cause cards to render poorly or not attach. Keep image URLs stable, monitor availability, and update markup if assets move.

Related Reading

More pages in this topic cluster.

What Does a Hashtag Mean and How to Use It Effectively

A hashtag is the # symbol followed by a keyword or phrase, without spaces, used to group and classify content so people can find conversations and topics quickly. Originally pop...

Read next
Why Rocket League Won't Open and How to Fix It: A Status Guide

Rocket League won’t open can feel urgent, but most causes are resolvable with systematic checks. This guide explains why the game may fail to launch, how to confirm official s...

Read next
How to block a list of URLs: methods, use cases, and best practices

Blocking a list of URLs is a common operational need for security teams, content moderators, network administrators, and site owners who want to restrict access to specific reso...

Read next