Ios 调用FBSDKGameRequestContent:在Facebook中接收邀请但不接收通知
我发送的游戏请求内容如下:Ios 调用FBSDKGameRequestContent:在Facebook中接收邀请但不接收通知,ios,objective-c,facebook,facebook-graph-api,Ios,Objective C,Facebook,Facebook Graph Api,我发送的游戏请求内容如下: FBSDKGameRequestContent *gameRequestContent = [[FBSDKGameRequestContent alloc] init]; gameRequestContent.message = @"My message"; gameRequestContent.title = @"My title"; gameRequestContent.recipients = @[idFacebook]; gameRequestContent.
FBSDKGameRequestContent *gameRequestContent = [[FBSDKGameRequestContent alloc] init];
gameRequestContent.message = @"My message";
gameRequestContent.title = @"My title";
gameRequestContent.recipients = @[idFacebook];
gameRequestContent.actionType = FBSDKGameRequestActionTypeNone;
FBSDKGameRequestDialog* dialog = [[FBSDKGameRequestDialog alloc] init];
dialog.content = gameRequestContent;
dialog.delegate = self;
[dialog show];
收件人可以通过右上角的facebook图标查看邀请,但不会收到通知。为什么呢
在Facebook应用程序中,我创建了iOS应用程序和canvas游戏。在任何人都可以在iPhone上观看通知之前,你需要公开你的应用程序。当通知仅在手机上显示时,是因为你的应用程序只是为手机设置的,而不是作为canvas应用程序。()我建议再次检查你的应用程序设置。你能访问你的画布链接吗?