# Open your app from Facebook links

> Why links tapped in the Facebook app open inside Facebook instead of your app, how Facebook Lite and Messenger differ, and how Strait gets people from Facebook's in-app browser into the right app screen.

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

## Make Facebook links open your app

Links in posts, groups and ads open inside Facebook's own browser. Here's what that browser allows, and how a tap gets from the feed into your app.

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

Facebook · the problem

## Facebook opens links in posts, groups and ads in its own browser.

What it costs you

The hand-off to your app is blocked there, so people stay in Facebook on a web page.

What Strait does

It names Facebook’s browser and answers with an “Open in app” page instead of a redirect that goes nowhere.

**Short answer:** The Facebook app opens outside links in its own browser on Android and iPhone, usually through l.facebook.com first. From there custom-scheme redirects rarely get out and Universal Links don't fire. The link server recognises Facebook's browser and shows an Open in app page that hands the tap on.

## Will it open from Facebook?

Paste the address your link points to and pick how the tap arrives from Facebook. 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=facebook-android&url=https%3A%2F%2Fshop.example.com%2Fproducts%2F42).

What the link server decides

## What Strait does with a tap from Facebook

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`.

### Android, Facebook’s in-app browser

**What Strait sees**

Android (Android 13), inside Facebook's in-app browser.

**Decision**

Facebook in-app browser: shows a page with a one-tap "Open in app" button, plus how to open the link in the real browser.

**App installed**

A page with an "Open in app" button. One tap opens the app at the deep link.

**App not installed**

The same button goes to Google Play with the link attached, so the app can open the right screen after install. The page also shows how to open the link in the real browser.

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

**What Strait sees**

iPhone or iPad (iOS 17.5), inside Facebook's in-app browser.

**Decision**

Facebook 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.

### Facebook building the link preview

**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 the Facebook app opens links

The main Facebook app opens outside links in its own in-app browser on Android and iPhone. You can spot it in the user agent: Android adds `[FB_IAB/FB4A;FBAV/…]`, iPhone adds `[FBAN/FBIOS;FBAV/…]`. Links usually pass through `l.facebook.com` or `lm.facebook.com` first, a redirect Facebook uses to check links for safety before it lets people through.

Like other in-app browsers, this one sits between the person and the operating system. A redirect to a custom scheme rarely leaves it, and iPhone Universal Links don't fire from inside it. So a link that opens your app perfectly from Chrome can open your mobile website from a Facebook group.

## Messenger and Facebook Lite

Messenger's in-app browser usually carries the same Facebook tokens, so the link server treats a Messenger tap the same way. When Android reports the source app, Messenger (`com.facebook.orca`) is labelled `messenger` in Analytics, separately from Facebook. Facebook Lite (`com.facebook.lite`) counts as Facebook. If a Messenger tap shows up under Facebook, it was recognised from the browser's user agent first; tag Messenger links with `utm_source=messenger` to keep them apart.

## The preview fetcher

Before a link appears in a post, Facebook's crawler, `facebookexternalhit`, fetches it for the preview. The link server serves your title, description and image to it and never redirects it. Those fetches are not taps and are never billed. If the preview looks wrong, Facebook caches it; the Sharing Debugger in Meta's developer tools can fetch it again.

## What a tap gets

On Android, Facebook's browser gets the page with an **Open in app** button, which opens the app at the deep link or, if the app is missing, goes to Google Play with the link attached. On iPhone, the page explains how to open the link in Safari, with a **Get the app** button for new users. Strait's Universal Links were tested on a real iPhone in October 2026, though not yet from inside Facebook; install matching after an App Store install is opt-in.

## Groups, pages and ads

Organic posts in groups and on your page are where your own links earn their keep: you choose the URL and see each post's taps by `utm_campaign`. For paid Facebook and Instagram ads, install attribution belongs with an attribution partner that reports to Meta. Keep using your own links in the ad's destination if you want the in-app browser handled, and keep the partner for the ad numbers.

Analytics

## How Facebook taps are counted

Analytics files these taps under the channel `facebook` 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 Facebook, then Android reporting that the tap came from `com.facebook.katana` or `com.facebook.lite`, then a referring page on `facebook.com`, `fb.com`, `l.facebook.com` or `lm.facebook.com`. A `utm_source` you set always wins, so a campaign tag like `utm_source=facebook-broadcast` keeps its own row.

## Try a real tap from Facebook

- **1**Send yourself the demo link Paste `demo.strait.link/try` into Facebook (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 Facebook already picked](https://straitlink.in/tools/will-it-open/?ch=facebook-android&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/)
- [Telegram](https://straitlink.in/open-app-from/telegram/)
- [Gmail](https://straitlink.in/open-app-from/gmail/)
- [LinkedIn](https://straitlink.in/open-app-from/linkedin/)
- [X (Twitter)](https://straitlink.in/open-app-from/x-twitter/)
- [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 Facebook.

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

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