To receive e-mail, you need to use the chart API, in particular, specify the parameter field filled with the fields you need. Take a look at the Graph Graph API API tool to help you find answers to your queries. https://developers.facebook.com/tools/explorer
The code that worked for me to receive email is as follows: it is assumed that you are already logged in:
NSMutableDictionary* parameters = [NSMutableDictionary dictionary]; [parameters setValue:@"id,name,email" forKey:@"fields"]; [[[FBSDKGraphRequest alloc] initWithGraphPath:@"me" parameters:parameters] startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection, id result, NSError *error) { aHandler(result, error); }];
genericdan Jul 14 '15 at 13:54 on 2015-07-14 13:54
source share