Meta tags
twitter:description
Provides the description used in an X Card link preview. The metadata name retains the twitter: prefix.
Code examples
Good example
<meta name="twitter:description" content="A practical guide to choosing and caring for indoor plants in low-light rooms.">Explains the subject in one specific sentence.
Good example
<meta name="twitter:description" content="Release notes for Acme 4.2, including the new import flow and three fixed crashes.">Names the product, version, and contents of the page.
Avoid this example
<meta name="twitter:description" content="">An empty value describes nothing. Omit the optional field instead.
Avoid this example
<meta name="twitter:description" content="Click here to learn more!">Too vague to explain what the page contains.
Recommendations
- 01Describe the PageX may truncate long descriptions. Start with the detail that helps a reader understand the page.
- 02Keep It AccurateUse a specific summary rather than keywords or promotional filler.
Related documentation
Related meta tags
Legacy Twitter App Card field for the numeric App Store ID of an iPad app. X has retired its public App Card reference.
<meta name="twitter:app:id:ipad" content="307234931">The numeric App Store ID once used by App Cards.
Legacy Twitter App Card field for the numeric App Store ID of an iPhone app. X has retired its public App Card reference.
<meta name="twitter:app:id:iphone" content="307234931">The numeric App Store ID for the former Twitter iPhone app.
Legacy Twitter App Card field for an Android application ID, usually the package name used by Google Play. X has retired its public App Card reference.
<meta name="twitter:app:id:googleplay" content="com.example.app">A conventional Android application ID.
Legacy Twitter App Card field for the name of an iPad app. X has retired its public App Card reference.
<meta name="twitter:app:name:ipad" content="My Amazing App">A plain app name that matches the store listing.
Legacy Twitter App Card field for the name of an Android app. X has retired its public App Card reference.
<meta name="twitter:app:name:googleplay" content="MyApp">A short app name that matches the store listing.