Facebook SDK 3.0: how to receive user's e-mail?

前端 未结 5 1921
执笔经年
执笔经年 2020-12-04 20:07

In the \"old\" FB iOS SDK I could receive user information via the following:

NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys         


        
5条回答
  •  粉色の甜心
    2020-12-04 20:22

    Did you read the source code of the 3.0 SDK? There is a method that I think is identical:

    - (FBRequest*)requestWithMethodName:(NSString *)methodName
                              andParams:(NSMutableDictionary *)params
                          andHttpMethod:(NSString *)httpMethod
                            andDelegate:(id )delegate;
    

提交回复
热议问题