Deep Linking Facebook iOS - App don't open -


i have problem integration of facebook deep linking (from article app). followed documentation (https://developers.facebook.com/docs/applinks) step step, there nothing do, doesn't work..

so in website, add metadata :

<meta property="fb:app_id" content="...">  <meta property="al:ios:url" content="appname://event?event_id=127">  <meta property="al:ios:app_name" content="app name">

in app delegate :

- (bool)application:(uiapplication *)application openurl:(nsurl *)url sourceapplication:(nsstring *)sourceapplication annotation:(id)annotation {    bfurl *parsedurl = [bfurl urlwithinboundurl:url sourceapplication:sourceapplication]; if ([parsedurl applinkdata]) {     // applink url, handle here     nsurl *targeturl = [parsedurl targeturl];     [[[uialertview alloc] initwithtitle:@"received link:"                                 message:[targeturl absolutestring]                                delegate:nil                       cancelbuttontitle:@"ok"                       otherbuttontitles:nil] show]; }  return [[fbsdkapplicationdelegate sharedinstance] application:application                                                       openurl:url                                             sourceapplication:sourceapplication                                                    annotation:annotation         ];} 

did have idea why app wasn't open ? configure facebook app settings.

change <meta property="al:ios:url" content="appname://event?event_id=127"> <meta property="al:ios:url" content="myapp://event?event_id=127">

your app recognize scheme set url myapp in case (you can change desired string both should match). should present in app's plist recognize incoming call open.

<key>cfbundleurltypes</key> <array>     <dict>         <key>cfbundletyperole</key>         <string>editor</string>         <key>cfbundleurlschemes</key>         <array>             <string>myapp</string>             <string>fbxxxxxxxxxxxxxxxx</string>         </array>     </dict> </array> 

Comments