Meta tags

twitter:app:url:iphone

Legacy Twitter App Card field for an iPhone app’s custom URL scheme. X has retired its public App Card reference.

Code examples

Good example
<meta name="twitter:app:url:iphone" content="myapp://timeline">
A custom scheme deep link handled by the app.
Good example
<meta name="twitter:app:url:iphone" content="myapp://article/123">
Opens a specific article in the app.
Avoid this example
<meta name="twitter:app:url:iphone" content="http://example.com/article/123">
A web URL is not the custom app scheme this historical field expected.
Avoid this example
<meta name="twitter:app:url:iphone" content="myapp://does/not/exist">
Invalid when the app has no route for this path.

Recommendations

  • 01
    Use a Tested Deep Link
    Provide a custom scheme URL that the iPhone app handles and that opens the matching content.
  • 02
    Legacy Field
    Test the result on X before relying on it. The detailed official App Card documentation is no longer published.

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.