你能帮忙解决一些卡在这里,让我们先看代码,这里我请求权限
NSMutableDictionary *params = [[NSMutableDictionary alloc] initWithCapacity:0];
[params setObject:facebook._appId forKey:@"client_id"];
[params setObject:@"token" forKey:@"response_type"];
[params setObject:[NSString stringWithCString:"email,user_about_me,read_stream,publish_stream,offline_access" encoding:NSUTF8StringEncoding] forKey:@"scope"];
[facebook dialog:@"oauth" andParams:params andDelegate:self];
[params release];
这里使用 @"me" 作为图形 API
- (void)fbDidLogin
{
[facebook requestWithGraphPath:@"me" andDelegate:self];
}
但我得到的只是
- (void)request:(FBRequest *)request didLoad:(id)result
{
[UIApplication sharedApplication].networkActivityIndicatorVisible=NO;
NSLog(@"FB result %@", result);
}
FB结果(“Justfortest Workingin”,100002369945695)
但是如何获取电子邮件地址?