ios - 移动应用好友邀请/通知

标签 ios facebook facebook-graph-api notifications

我目前正在开发一个允许用户通过 facebook 登录的移动应用程序。这允许该应用程序显示哪个 Facebook 好友已经在使用该应用程序。

我接下来要做的是允许用户向尚未使用该应用程序的其他 Facebook 好友发送有关该应用程序的邀请。我已经看到许多其他应用程序通过将消息发布到 friend 的墙上来实现这一点。我认为这种方法过于侵入。我喜欢通过发送通知所采取的方法路径,如下面的屏幕截图所示。

enter image description here

我必须使用什么 API 调用才能实现此目的?我一直在尝试 apprequests .但到目前为止还没有运气。

感谢您的帮助。

最佳答案

Apprequests 是正确的方法,但您的请求只会出现在 facebook ios 应用程序上,因为您只在 facebook 应用程序参数中“连接”了您的 IOS 应用程序 (https://developers.facebook.com/apps/). 您需要在 facebook.com 上安装一个应用程序才能运行。

关于ios - 移动应用好友邀请/通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8618921/

相关文章:

ios - 使用 AVAssetWriter/AVAssetReader 设置视频帧率的问题

php - 将打印结果作为字符串发送到我的数据库中

ios - Swift - 'NSArray' 不是 'inout C' 类型

facebook - Facebook/Twitter 是否在自己的应用程序中使用 oAuth?

swift - PFFacebookUtils.logInInBackgroundWithReadPermissions block 返回 user = nil 和 error = nil

ios - Facebook App Invites 打开 SafariViewController 而不是 Native app

android - Facebook 客户端 token

java - 我将通过使用友元操作检索friendMemberList,但我总是有列表的最后一个成员?

ios - 来自带有 iOS8 GM 的 Popover 的 UIActionSheet

android - 在 Delphi Firemonkey 移动应用程序中读写 inifile?