Early Access
twitter:app:url:iphone
Defines the deep link URL to your iOS app for Twitter. When shared, this tag directs Twitter users on an iPhone to a specific location in your iOS app instead of a web page, enhancing user experience for app users.
Code Examples
<meta name="twitter:app:url:iphone" content="twitterkit-//timeline" />
<meta name="twitter:app:url:iphone" content="myapp://article/123" />
<meta name="twitter:app:url:iphone" content="http://example.com/article/123" />
<meta name="twitter:app:url:iphone" content="myapp://does/not/exist" />
Recommendations
- Use with Twitter App ID and NameFor optimal functionality, this tag should be used in conjunction with the "twitter:app:id:iphone" and "twitter:app:name:iphone" meta tags. This ensures users are directed to the appropriate app on their device.
- Validate Deep Link URLsEnsure the deep link URL is thoroughly tested and validated. Incorrect or broken URLs can lead to a poor user experience and potentially deter users from engaging further.
Related Documentation
Related Meta Tags
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">
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">
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">
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">
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">
Community