I'm trying to send out invites with Facebook SDK, this is my code:
FBSDKAppInviteContent *content =[[FBSDKAppInviteContent alloc]
initWithAppLinkURL:[NSURL URLWithString:@"https://fb.me/835518356527517"]];
[FBSDKAppInviteDialog showWithContent:content
delegate:self];
I've added the url scheme of fb123456789 (my game id) to the plist and did all the configuration the SDK requires.
The problem is after receiving the invite it sends the user to the AppStore even if the app is installed on the device. How can I make the receiver open the app straight up? instead of sending to the AppStore all the time?
Thanks