Meta tags
twitter:creator
Attributes the page’s content to an X account using its @handle. The metadata name retains the twitter: prefix.
Code examples
Good example
<meta name="twitter:creator" content="@contentcreator">A creator handle with the required @ prefix.
Good example
<meta name="twitter:creator" content="@brandname">Valid when the brand created the content.
Avoid this example
<meta name="twitter:creator" content="contentcreator">Missing the @ prefix used by this field.
Avoid this example
<meta name="twitter:creator" content="">An empty value identifies no account. Omit the optional field instead.
Recommendations
- 01Include the @ SymbolWrite the account handle exactly as it appears on X, including the leading @.
- 02Credit the Content CreatorUse twitter:site for the publication account and twitter:creator for the author or maker.
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.