在“旧”FB iOS SDK 中,我可以通过以下方式接收用户信息:
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
@"SELECT uid, name, email, pic FROM user WHERE uid=me()", @"query",
nil];
JBFacebookManager *fbManager = [JBFacebookManager getInstance];
fbManager.requestDelegate = self;
[fbManager.facebook requestWithMethodName:@"fql.query"
andParams:params
andHttpMethod:@"POST"
andDelegate:self];
如何使用新的 FB iOS SDK 3.0 做到这一点?我是否需要使用FBRequest
或FBOpenGraphAction
或FBGraphObject
或这些或完全不同的东西的组合?