我正在发送带有以下内容的游戏请求内容:

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];

收件人可以通过https://www.facebook.com/games/activity查看邀请,但在右上方的Facebook图标中未收到通知。这是为什么?

在Facebook应用程序中,我创建了iOS应用程序和画布游戏。

最佳答案

您需要先公开您的应用,然后其他人才能在自己的iPhone上观看通知。

关于ios - 调用FBSDKGameRequestContent:在Facebook中接收邀请但未收到通知,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/30753076/

10-12 01:47