I am not able to redirect to my iOS app from facebook post. When I click on that post its gets open as webpage (somehow dosent identify tags for iOS & dosen't redirect to app). Not sure whether its a ios app OR html content or some other issue.
I have integrated Facebook APP Link meta tags in my HTML page like below.
in my case URLScheme name is "fbXXXXXXX"
<meta property="fb:app_id" content=<fb_APP_ID> />
<meta property="al:ios:app_store_id" content=<appstoreid> />
<meta property="al:ios:url" content="fbXXXXXXX://eventid/12345" />
<meta property="al:ios:app_name" content=<App name> />
LSApplicationQueriesSchemes
<key>LSApplicationQueriesSchemes</key>
<array>
<string>fbapi</string>
<string>fb-messenger-api</string>
<string>fbauth2</string>
<string>fbshareextension</string>
AppDelegate.m
- (BOOL)application:(UIApplication *)application
openURL:(NSURL *)url
sourceApplication:(NSString *)sourceApplication
annotation:(id)annotation {
[[FBSDKApplicationDelegate sharedInstance] application:application
openURL:url
sourceApplication:sourceApplication
annotation:annotation
];
BFURL *parsedUrl = [BFURL URLWithInboundURL:url sourceApplication:sourceApplication];
if ([parsedUrl appLinkData]) {
[self handleDeeplinkURL:url];
}
return YES;
}
Because sharing the URL directly works, I'm fairly confident I've set up deep linking correctly, so I think it must be something with open graph.