# Open your app from X (Twitter) links

> How X (Twitter) opens links on iPhone and Android, why t.co wrapping and X's in-app browser stop links opening your app, and how Strait gets people from a post into the right app screen.

Source: https://straitlink.in/open-app-from/x-twitter/
Markdown: https://straitlink.in/open-app-from/x-twitter.md

## Make links on X (Twitter) open your app

X wraps every link in t.co and, on iPhone, opens it in its own browser. On Android it usually hands the link to a Chrome tab. Each path needs a different answer.

[Simulate a tap from X (Twitter)](https://straitlink.in/tools/will-it-open/?ch=x-ios&url=https%3A%2F%2Fshop.example.com%2Fproducts%2F42) [Start free](https://app.straitlink.in/?signup=1)

X (Twitter) · the problem

## X wraps every link in t.co and, on iPhone, opens it in its own browser.

What it costs you

On iPhone the tap stays inside X; on Android it usually lands in a Chrome tab.

What Strait does

It answers each path: a page made for X’s browser on iPhone, the normal hand-off from Chrome on Android.

**Short answer:** X rewrites every link to t.co, so on iPhone the tap starts on X's domain, Universal Links can't match, and X opens it in its own browser. On Android X usually uses a Chrome Custom Tab, an ordinary browser tap. The link server recognises X's iPhone browser and shows an Open in app page.

## Will it open from X (Twitter)?

Paste the address your link points to and pick how the tap arrives from X (Twitter). The answer prints like a record, stamped.

Runs the link server’s own decision code in your browser; nothing you paste is sent. The example app has an Android package and an App Store ID. [More settings in the full simulator](https://straitlink.in/tools/will-it-open/?ch=x-ios&url=https%3A%2F%2Fshop.example.com%2Fproducts%2F42).

What the link server decides

## What Strait does with a tap from X (Twitter)

Each card is the link server’s real decision for that kind of tap, worked out by running its code on the user agent the tap arrives with. The example app has an Android package and an App Store ID; the link points to `https://shop.example.com/products/42`.

### iPhone, X’s in-app browser

**What Strait sees**

iPhone or iPad (iOS 17.4), inside X (Twitter)'s in-app browser.

**Decision**

X (Twitter) in-app browser: these often don't open apps from links, so it shows a page explaining how to open the link in the real browser (with a "Get the app" button).

**App installed**

A page that shows how to open the link in Safari (the ⋯ menu → Open in browser). From there the link opens the app.

**App not installed**

The page also has a "Get the app" button that goes to the App Store.

### Android, X opens the link in a Chrome tab

**What Strait sees**

Android (Android 14), in the phone's browser.

**Decision**

Opens the app if installed, otherwise Google Play with the link attached for deferred deep linking.

**App installed**

The app opens at the deep link, directly from the tap.

**App not installed**

Google Play, with the link in the install referrer. After install, the SDK reads it and opens the right screen (a deferred deep link).

### X building the card

**What Strait sees**

A link-preview fetcher or script, not a person.

**Decision**

Preview (link-preview bots and requests without a browser user agent): served the preview card (title, description, image), never a redirect; counted as a preview, never billed.

**App installed**

No redirect. The chat shows a preview card built from the link's title, description and image.

**App not installed**

Same: previews never redirect and are never billed as taps.

## How X opens a link

Every URL posted on X is rewritten to a `t.co` address. When someone taps it, X's servers redirect to your link, which in turn reaches the link server. That extra hop matters on iPhone: the tap the person made was on `t.co`, not on your domain, so iOS has nothing to match against your Universal Links.

On iPhone, X opens links in its own in-app browser by default. Its user agent includes `Twitter for iPhone`, and the link server's detection matches the `Twitter` token. On Android, X normally opens links in a Chrome Custom Tab, which looks to the link server exactly like Chrome. The cards above show both, and the difference in what each one gets.

## What a tap gets

**iPhone, X's browser.** Apps can't be opened from inside it, so the link server shows a page explaining how to leave: tap ⋯ and choose **Open in browser**. A **Get the app** button goes to the App Store for people who don't have your app yet. From Safari, your verified domain opens the app directly. Strait's Universal Links were tested on a real iPhone in October 2026, though not yet from inside X; install matching after an App Store install is opt-in.

**Android, a Chrome tab.** This is the friendly case. The link server sends the normal Android hand-off, an `intent://` URL that names your package. If your app is installed it opens at the deep link; if it isn't, Android follows the fallback to Google Play with the link in the install referrer, so the first open after install lands on the right screen.

## The card

X's crawler, `Twitterbot`, fetches your link to draw the card. The link server serves it the link's title, description and image, never a redirect, and never bills it as a tap. Use a 1200 × 630 image; X crops other shapes. If you edited the image after posting, the old card may linger in X's cache for a while.

## Threads, replies and bios

- A link in your profile bio is tapped for months. Point it at a screen that stays useful, and change the destination in the dashboard rather than editing the bio.

- In a launch thread, give the link in the first post and the link in the last post different `utm_campaign` values. You'll see which one people act on.

- Replies to customer questions can carry a link to the exact help screen in your app.

Taps whose referrer is `t.co`, `twitter.com`, `x.com` or the X Android app (`com.twitter.android`) are labelled `x` in Analytics. Taps from X's iPhone browser get the same label from the user agent.

Analytics

## How X (Twitter) taps are counted

Analytics files these taps under the channel `x` even when the link has no UTM tags. It works that out from, in order: a `utm_source` on the tap or in the link’s destination, then the in-app browser’s user agent, when the tap happens inside X (Twitter), then Android reporting that the tap came from `com.twitter.android`, then a referring page on `t.co`, `twitter.com` or `x.com`. A `utm_source` you set always wins, so a campaign tag like `utm_source=x-broadcast` keeps its own row.

## Try a real tap from X (Twitter)

- **1**Send yourself the demo link Paste `demo.strait.link/try` into X (Twitter) (a chat with yourself, a draft, a private post) and tap it on your phone. You see what your users would see first. Without our demo app installed, the tap ends on our website.
- **2**Simulate it [Open the simulator with X (Twitter) already picked](https://straitlink.in/tools/will-it-open/?ch=x-ios&url=https%3A%2F%2Fshop.example.com%2Fproducts%2F42), change the link or clear an app setting, and watch the decision change.
- **3**Trace it Scan the [Live Tap Trace](https://straitlink.in/#try) on the home page with your phone to see each step of one real tap arrive.

## Go further

- [Troubleshooting When a link opens the browser instead of the app](https://straitlink.in/docs/troubleshooting/)
- [App Links & Universal Links The verification that lets a tap skip the browser](https://straitlink.in/docs/app-links/)
- [Check your App Links setup Free check of assetlinks.json and apple-app-site-association](https://straitlink.in/tools/app-links-checker/)
- [Analytics: how we count Channels, taps, opens and installs](https://straitlink.in/docs/analytics/)

### The other apps your users tap in

- [WhatsApp](https://straitlink.in/open-app-from/whatsapp/)
- [Instagram](https://straitlink.in/open-app-from/instagram/)
- [Facebook](https://straitlink.in/open-app-from/facebook/)
- [Telegram](https://straitlink.in/open-app-from/telegram/)
- [Gmail](https://straitlink.in/open-app-from/gmail/)
- [LinkedIn](https://straitlink.in/open-app-from/linkedin/)
- [YouTube](https://straitlink.in/open-app-from/youtube/)
- [Snapchat](https://straitlink.in/open-app-from/snapchat/)
- [SMS](https://straitlink.in/open-app-from/sms/)
- [Discord](https://straitlink.in/open-app-from/discord/)
- [Pinterest](https://straitlink.in/open-app-from/pinterest/)
- [Reddit](https://straitlink.in/open-app-from/reddit/)
- [Truecaller](https://straitlink.in/open-app-from/truecaller/)
- [Paytm](https://straitlink.in/open-app-from/paytm/)
- [TikTok](https://straitlink.in/open-app-from/tiktok/)
- [Outlook](https://straitlink.in/open-app-from/outlook/)

## Make your own link for X (Twitter).

Free for 25,000 taps a month, no card. Every tap from X (Twitter) shows up with its own trace.

[Start free](https://app.straitlink.in/?signup=1) [Read the quick start](https://straitlink.in/docs/quick-start/)
