I just started using Fabric and I am running into trouble getting email. My app says it is authorized for read, write, and direct messages. I can log in without issue, the request email view is displayed (iOS), but when I click allow, the email is always nil with the message: Code=37 "Your application may not have access to email addresses or the user may not have an email address. To request access, please visit https://support.twitter.com/forms/platform." UserInfo=0x7f7ff29a6090
The code is pretty simple:
TWTRLogInButton *logInButton = [TWTRLogInButton buttonWithLogInCompletion:^(TWTRSession *session, NSError *error) {
// play with Twitter session
TWTRShareEmailViewController *shareEmailVC = [[TWTRShareEmailViewController alloc] initWithCompletion:^(NSString *email, NSError *error) {
NSLog(@"Email %@, Error: %@", email, error);
CLUserDetailsViewController *udVC = [[CLUserDetailsViewController alloc] initWithEmail:email];
[self.navigationController pushViewController:udVC animated:YES];
}];
[self presentViewController:shareEmailVC animated:YES completion:nil];
}];
Any help is appreciated.