I'm trying to send app invitation to my facebook friends using below code Everything works fine but friends are not able to receive any notification from my Facebook app invite.
FBSDKAppInviteContent *content =[[FBSDKAppInviteContent alloc] init];
content.appLinkURL = [NSURL URLWithString:@"https://fb.me/myappid"];
//optionally set previewImageURL
content.appInvitePreviewImageURL = [NSURL URLWithString:@"https://www.example.com/my_invite_image.jpg"];
// present the dialog. Assumes self implements protocol `FBSDKAppInviteDialogDelegate`
FBSDKAppInviteDialog *inviteDialog = [FBSDKAppInviteDialog showFromViewController:self withContent:content delegate:self];
几个小时也没有看到邀请通知后,我意识到通知仅出现在Facebook移动应用程序中(不在FB网站上)。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.