邀请被接受后我能知道是哪个用户发出的吗?
我正在创建 Facebook 应用程序。我需要知道我是否可以计算一个人发出的邀请数量(邀请他/她的朋友使用该应用程序)。我还需要知道有多少邀请已被接受(没有被拒绝或忽略)。我可以计算邀请数吗?当用户接受或拒绝邀请时,有没有办法知道是谁发出的邀请?
我们正在使用 Facebook 的 PHP API。
I'm creating Facebook app. I need to know if i can count the number of invitations a person has made (invitations to his/her friends to use the app). I also need to know how many of these invitations have been accepted (not rejected or ignored). Can I count the invitations? Is there a way to know who made the invitation when a user is accepting or rejecting one?
We are working with the PHP API for facebook.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,但是您需要做一些工作来跟踪这些事情。看看 https://developers.facebook.com/docs/reference/dialogs/ requests/ 查看请求对话框的工作原理。理想情况下,您将记录请求 ID,然后循环访问请求 ID,将信息提取到数据库中以跟踪哪些请求成功。
Yes, but you'll need to do some work on your end to track these things. Take a look at https://developers.facebook.com/docs/reference/dialogs/requests/ to see how the requests dialog works. Ideally you'll log the request ids then loop through the request ids to pull out the information into your database to track which requests were successful.