2

我正在使用此代码邀请朋友:

[FBWebDialogs presentRequestsDialogModallyWithSession:]

如何获取已被邀请加入应用的好友数量?像这样的东西:

    [FBWebDialogs presentRequestsDialogModallyWithSession:nil
                                                  message:@"Hello"
                                                    title:@"My app"
                                               parameters:params
                                                  handler:^(FBWebDialogResult result, NSURL *resultURL, NSError *error) {
                                                      if (error) {
//Something bad happened
                                                      } else {
                                                          if (result == FBWebDialogResultDialogNotCompleted) {
//canceled
                                                          } else {
//request sended. How many friends were invited?????
                                                          }
                                                      }}];
4

0 回答 0