Early Access
twitter:card
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" />
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
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 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">
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 name of your application tailored for iPad users when sharing content on Twitter.
<meta name="twitter:app:name:ipad" content="My Amazing App">
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">
Community