本文介绍了应用邀请对话框委托方法的结果参数不包含请求ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

fb-sdk 3.x中.用户以这种方式将请求发送给朋友(使用FBWebDialog)后,我可以得到request id,这样我可以在我的应用中显示用户邀请了朋友,从而改善了用户体验,因为用户已确认发送了邀请.

In fb-sdk 3.x. I was able to get request id after user has sent requests to their friends(usingFBWebDialogs) this way I could show in my app that user has invited friends which improved user experience because user got confirmation that invites were sent.

现在使用fb-sdk 4.0(使用FBSDKAppInviteDialog),我没有收到任何可以显示邀请的朋友的数据.

Now with fb-sdk 4.0(using FBSDKAppInviteDialog) I don't receive any data which would enable me to show invited friends.

您对如何获取被邀请的朋友列表有什么建议吗?

Do you have any suggestions how to get list of invited friends?

推荐答案

无法获取被邀请的朋友列表.

There is no way to get list of invited friends.

Facebook工程师Emil Hesslow在 Facebook开发者社区小组中讨论了该问题.这是他的评论之一的相关部分:

The issue was discussed with Facebook engineer Emil Hesslow at Facebook Developer Community group. Here is relevant part of one of his comments:

不,你不能得到他们邀请的人

And no you can't get who they invited

这篇关于应用邀请对话框委托方法的结果参数不包含请求ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-14 19:01