Cards Markup Tag Reference
The table in this section explains the OpenGraph fallback behavior for each Twitter tag.
Overview of all Twitter Card Tags¶
Property | OpenGraph |
The card type Used with all cards |
If an og:type, og:title and og:description exist in the markup but twitter:card is absent, then a summary card may be rendered. |
@username of website. Either twitter:site or twitter:site:id is required. Used with summary, summary_large_image, app, player cards |
n/a |
Same as twitter:site, but the user’s Twitter ID. Either twitter:site or twitter:site:id is required. Used with summary, summary_large_image, player cards |
n/a |
@username of content creator Used with summary_large_image cards |
n/a |
Twitter user ID of content creator Used with summary, summary_large_image cards |
n/a |
Description of content (maximum 200 characters) Used with summary, summary_large_image, player cards |
og:description |
Title of content (max 70 characters) Used with summary, summary_large_image, player cards |
og:title |
URL of image to use in the card. Images must be less than 5MB in size. JPG, PNG, WEBP and GIF formats are supported. Only the first frame of an animated GIF will be used. SVG is not supported. Used with summary, summary_large_image, player cards |
og:image |
A text description of the image conveying the essential nature of an image to users who are visually impaired. Maximum 420 characters. Used with summary, summary_large_image, player cards |
og:image:alt |
HTTPS URL of player iframe Used with player card |
n/a |
Width of iframe in pixels Used with player card |
n/a |
Height of iframe in pixels Used with player card |
n/a |
URL to raw video or audio stream Used with player card |
n/a |
Name of your iPhone app Used with app card |
n/a |
Your app ID in the iTunes App Store (Note: NOT your bundle ID) Used with app card |
n/a |
Your app’s custom URL scheme (you must include ”://” after your scheme name) Used with app card |
n/a |
Name of your iPad optimized app Used with app card |
n/a |
Your app ID in the iTunes App Store Used with app card |
n/a |
Your app’s custom URL scheme Used with app card |
n/a |
Name of your Android app Used with app card |
n/a |
Your app ID in the Google Play Store Used with app card |
n/a |
Your app’s custom URL scheme Used with app card |
n/a |