Meta tags

twitter:image:width

Unsupported X Card field. The retired tag reference documented twitter:image and twitter:image:alt, but not twitter:image:width. Use og:image:width for Open Graph consumers.

Code examples

Avoid this example
<meta name="twitter:image:width" content="600">
The number is plausible, but X does not define this metadata field.
Avoid this example
<meta name="twitter:image:width" content="1200">
Still unsupported, regardless of the number.
Avoid this example
<meta name="twitter:image:width" content="300">
Still unsupported, regardless of the number.
Avoid this example
<meta name="twitter:image:width" content="">
An empty unsupported field should be removed.

Recommendations

  • 01
    Remove This Field
    X Card metadata does not define a separate image width tag.
  • 02
    Use Open Graph When Needed
    Declare the actual pixel width with og:image:width after og:image.

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.