Early Access

Meta Tags

twitter:creator:id

Learn how to use the twitter:creator:id meta tag to improve your site.

Specifies the Twitter user ID of the content creator. This can help attribute the content more directly to the creator’s Twitter account in Tweets sharing the page.

Code Examples

<meta name="twitter:creator:id" content="123456789" />
Correct use of a numeric Twitter user ID to indicate the creator of the content.
<meta name="twitter:creator:id" content="@username" />
Incorrect use by including "@" and the username instead of the numeric user ID.
<meta name="twitter:creator:id" content="username" />
Another incorrect usage by providing the Twitter username without the "@", still failing to use the numeric ID.
<meta name="twitter:creator:id" content="" />
An empty value does not provide any linkage or credit to the content creator’s Twitter account, missing the opportunity for proper attribution.

Recommendations

  • Finding Your User ID
    You can find your Twitter user ID by using various online tools or through Twitter’s settings in the "Account" section, as it’s different from your username.
  • Use Without "@"
    Only use the numeric user ID, not the Twitter handle. Including "@" or the username itself will not properly link to the creator’s Twitter profile.

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">
Specifies the App Store ID for an iPad application, directly guiding Twitter users to the app when shared.

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">
Correctly specifies the Google Play Store ID, ensuring Twitter can direct users to the appropriate app page.

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">
Clearly specifies the name of the application as "My Amazing App", which is direct and memorable.

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">
A valid example of an App Store ID used for the Twitter iPhone app, facilitating direct app opens or installations from tweets.

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">
Directly matching the app name on the Google Play Store, ensuring accurate and effective promotion.