jeanreis
jeanreis

Reputation: 908

How to deep link an app from the Facebook App builtin browser?

I have a link that when clicked loads a dynamic webpage (which performs some operations on the server), and then redirect the user to an installed app. So far, opening the link in the following apps/browsers works fine:

Something similar is also being done on iOS, and works fine.

The following does not work, no matter what I try:

What has been done/tried:

The app has the needed content filters and intent setup correctly, and the filters were set to handle both a custom protocol scheme ("example://") and HTTP ("http", "example.com") - one at a time and both at the same time.

Using App Links tags or Open Graph tags (as suggested by some FB literature) did not solve the problem.

Redirecting the user with an HTTP redirect, javascript or meta refresh tag does not work.

Using an HTML link and taping it does not work.

All of those methods work everywhere except when using the Android Facebook App's builtin browser.

(this was tested with several Android versions, 2.3, 4.4 and 5.0)

Is there any special syntax for this kind of links to work?

Thanks, Jean

Upvotes: 6

Views: 2684

Answers (1)

ddoo
ddoo

Reputation: 2266

Have you tried changing your site's redirect implementation?

https://developer.chrome.com/multidevice/android/intents

The functionality has changed slightly in Chrome for Android, versions 25 and later. It is no longer possible to launch an Android app by setting an iframe's src attribute. For example, navigating an iframe to a URI with a custom scheme such as paulsawesomeapp:// will not work even if the user has the appropriate app installed. Instead, you should implement a user gesture to launch the app via a custom scheme, or use the “intent:” syntax described in this article.

Upvotes: 0

Related Questions