I have a web page in place with proper App Links tags; the relevant ones for the Android part are:
<meta property="al:android:url" content="custom-scheme://some/url/with?q=1&s=2">
<meta property="al:android:package" content="com.example.app">
<meta property="al:android:app_name" content="Example App">
<meta property="al:web:should_fallback" content="false">
Sharing content from the Android application, by posting on Facebook a link to a web page containing those tags, just works. However, when I click on the post from the native Facebook application, my Android application receives an Intent with a data
property set to the original shared link instead to the app link specified in the al:android:url
metadata.
I expected that, having set the al:web:should_fallback
metadata to false
, the original URL would not be shown, and the defined app link would be picked. But the only difference I see in the Intent is on its action: instead of being a regular android.intent.action.VIEW
, it is some weird com.facebook.application.720295239734539
.
Which is the right metadata combination to have Facebook correctly using the custom-schemed URL I defined in al:android:url
as the deep link carried by Intent's data
to my app?