Facebook iOS app does not launch my app for enabled link

I have added the following meta information to the body of my test web page.

<html> <head> <meta property="al:ios:url" content="schemeregisteredinapp://hereGoesTheURL" /> <meta property="al:ios:app_store_id" content="12345" /> <meta property="al:ios:app_name" content="Applinks Supporting App" /> </head> <body> <p>Opening a link to this page in Facebook iOS app should launch my "Applinks Supporting App". </p> </body> </html> 

I added a custom URL scheme schemeRegisteredInApp in my iOS app app.plist. If I type in a URL of the format schemeRegisteredInApp://the/rest/of/the/path in the Safari iOS browser, it successfully launches my application.

But if I touch the link to a web page containing the above HTML in a Facebook application or Mailbox application (both must support the application protocol) on iOS, the page opens only in the web view inside the Facebook application. The iOS application never launches. I can’t understand what is going wrong. Applied simply refuses to work as advertised. This is on iOS 8. Does the app crash?

+8
ios facebook applinks
source share
4 answers

Add metadata to your website, and the iOS app for Facebook will open your application directly.

 <meta property="al:web:should_fallback" content="false" /> 

If this does not work, you still have other problems with your metadata. The best way to debug is to go to developers.facebook.com/tools/debug/og/object and enter the URL and select "Show current scratch information." If there are any errors, this will not work. Fix the problems and click the "Get New Scratch Information" button. Then kill the iOS app for Facebook and restart it. AppLink will then work as expected the next time you click an item in the FB feed.

+14
source share

I tested on iOS 7. Before I upgrade to the latest Facebook application, I see a popup at the bottom of the Facebook browser that leads me to my own application. Immediately after I updated the Facebook application to the latest version, the popup no longer appears. The same does not work on iOS 8. Perhaps a bug in the latest version of Facebook. Hope to see that they fixed it or found a workaround.

0
source share

I just checked the example you provided. For me, this correctly shows the pop-up window for installing your application, but during installation it does not recognize it as being installed.

I checked your applicator and it looks like you have not registered URLSchema. This is necessary for Applinks to check if the application is installed or not.

Can you verify this with a project in which you defined an Appschema application in your application?

0
source share

If you want this link to work optionally when it launches an application or an open web page, if the application is not installed, you need to add the following meta tag:

 <pre> <meta property="fb:app_id" content="[facebook app id]" /> </pre> 

It doesn't matter if facebook app id exists. It will work correctly in iOS only if it exists. However, Facebook on Android will first open the web view, but allow you to launch the application from this page.

The following meta tag should be removed:

 <pre> <meta property="al:web:should_fallback" content="..." /> </pre> 
0
source share

All Articles