Early Access
twitter:card
Learn how to use the twitter:card meta tag to improve your site.
Defines the type of content represented on the page to create a rich media experience when the page is shared on Twitter.
Parameters
<meta name="twitter:card" content="summary" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:card" content="app" />
<meta name="twitter:card" content="player" />
Code Examples
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:card" content="app" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:card" content="player" />
Recommendations
- Choose the Right Card TypeSelect the card type that best represents your content to improve engagement and click-through rates.
- Optimize ImagesFor "summary_large_image", ensuring your image is at least 280x150 pixels can significantly affect visual appeal on feeds.
Related Documentation
Related Meta Tags
Defines the numeric ID of your iPad application in the Apple App Store, enabling Twitter to link to it when your content is shared.
<meta name="twitter:app:id:ipad" content="307234931">
Defines the iPhone app ID in the Apple App Store for deep linking from tweets. This is part of Twitter Cards used to enhance tweets with rich media to direct users to web content directly or through an app.
<meta name="twitter:app:id:iphone" content="307234931">
Specifies the unique application ID for a Google Play app, used within Twitter Cards to direct users to a specific Android app.
<meta name="twitter:app:id:googleplay" content="com.example.app">
Specifies the name of your application tailored for iPad users when sharing content on Twitter.
<meta name="twitter:app:name:ipad" content="My Amazing App">
Specifies the name of your Android app on the Google Play Store. This is utilized in Twitter Cards when you want to promote a mobile application directly from a tweet.
<meta name="twitter:app:name:googleplay" content="MyApp">
Community