Links to iOS Facebook apps do not work

I am trying to use App Links on Facebook.

I created the Link application successfully using Graph Api Exporer and got the canonical URL back (e.g. https://fb.me/1234567890). When I post it on my Facebook timeline and click on it, it tries to open the App Store, not my application.

1.) Do I need a real-time App Store identifier to test deep binding in iOS?

2.) I checked from my safari, and the URL scheme that I registered successfully opens my application. for example myapp: // opens my application, so the URL scheme is correct. What am I missing?

3.) I made sure that the deep link option is enabled in my settings for the application on the Facebook developers site.

4.) Is there a way to check deep binding in an iOS simulator?

+5
source share
1 answer

Add the following metadata to your website, and the iOS application 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 your 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.

+1
source

Source: https://habr.com/ru/post/1206497/


All Articles