我正在发送一个游戏请求内容,内容如下:
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 应用程序和 Canvas 游戏。
最佳答案
您需要先公开您的应用,然后其他人才能在他们的 iPhone 上看到通知。
关于ios - 调用 FBSDKGameRequestContent : receiving the invite but not the notification in Facebook,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30753076/