问题
In fb-sdk 3.x
. I was able to get request id
after user has sent requests to their friends(usingFBWebDialog
s) 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.
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?
回答1:
There is no way to get list of invited friends.
The issue was discussed with Facebook engineer Emil Hesslow at Facebook Developer Community group. Here is relevant part of one of his comments:
And if they expect their friends to show up in the app it is just because it was working like that before. Not because everyone always assumes that will happen if you invite someone.
And no you can't get who they invited
来源:https://stackoverflow.com/questions/29937365/app-invite-dialog-delegate-methods-result-parameter-contains-no-request-id