I am trying to integrate Facebook App Invite Dialog in my iOS app. For test purposes I created this test application and generated App Link for it.
Running next code:
FBSDKAppInviteContent *content =[[FBSDKAppInviteContent alloc] init]; content.appLinkURL = [NSURL URLWithString:@"https://fb.me/1453356328318807"]; //optionally set previewImageURL content.appInvitePreviewImageURL = [NSURL URLWithString:@"http://someimage-1200x628.jpg"]; // present the dialog. Assumes self implements protocol `FBSDKAppInviteDialogDelegate` [FBSDKAppInviteDialog showWithContent:content delegate:self];
shows app invite dialog with ability to chose friends and send them invites to my app. Everything goes fine, I got invocation of delegate method:
(void)appInviteDialog:(FBSDKAppInviteDialog *)appInviteDialog didCompleteWithResults:(NSDictionary *)results
with result:
{
didComplete = 1;
}
But receiver didn't get notification. Receiver user is also registered user for my app Tester User with native Facebook App installed.
Maybe somebody got same problem and knows how to fix it?