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.
Myapppp.plist content:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>com.myapp.xyzxyz</string>
<key>CFBundleURLSchemes</key>
<array>
<string>myapp</string>
</array>
</dict>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fb123XXX123</string>
</array>
</dict>
</array>
AppName: Myapp (As per plist)
<html lang="en">
<head>
<meta property="al:ios:url" content="myapp://blahblah"/>
<meta property="al:ios:app_store_id" content="1234567"/>
<meta property="al:ios:app_name" content="Myapp blah blah"/>
</head>
When I simply do "myapp://
" from safari, it takes me to my app and I also tried manually opening "myapp://blahblah
" which also takes me to app. Hence, I assume my app has valid linking.
When I click on that post from facebook app, it navigates an open that as another webpage which contains one toolbar at the bottom and has one button on it & it shows 3 option. one of them is "open in myapp"
If I try opening some other apps from Facebook app (for e.g. Instagaram post), they too work fine.
Does app name has to be excatly same what I have specified in info.plist
and the one in meta_property
? Or is there any other mistake ?