1
我提交了我的申請審查twitter。他們列入白名單,今天早上我收到了一封郵件。我提供了隱私網址和條款及條件網址。檢查來自用戶的請求電子郵件框(權限選項卡)。但我仍然沒有收到郵件ID。請幫助..仍然沒有從面料獲取電子郵件的twitter
2015-11-05 10:14:32.260 Que Pics[1914:28034] Email (null), Error: Error Domain=TwitterAPIErrorDomain 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={NSLocalizedDescription=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.}
2015-11-05 10:14:47.699 Que Pics[1914:28034] Email (null), Error: Error Domain=TWTRErrorDomain Code=2 "The user chose not to share their email address at this time." UserInfo={NSLocalizedDescription=The user chose not to share their email address at this time.}
2015-11-05 10:15:16.713 Que Pics[1914:28034] signed in as AbbieVys
2015-11-05 10:15:18.350 Que Pics[1914:28034] Email (null), Error: Error Domain=TwitterAPIErrorDomain 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={NSLocalizedDescription=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.}
2015-11-05 10:15:19.695
這是爲什麼?爲什麼從織物那麼天真的操作?
- (IBAction)twitterButtonAction:(id)sender {
[[Twitter sharedInstance] logInWithCompletion:^
(TWTRSession *session, NSError *error) {
if (session) {
NSLog(@"signed in as %@", [session userName]);
[self userEmailIDTwitter];
[[QPCommonClass initializeUserDefaults]setObject:[session userName] forKey:@"USER_ID"];
[self pushToCategoryViewController];
} else {
NSLog(@"error: %@", [error localizedDescription]);
}
}];
}
-(void)userEmailIDTwitter
{
if ([[Twitter sharedInstance] session]) {
TWTRShareEmailViewController* shareEmailViewController = [[TWTRShareEmailViewController alloc] initWithCompletion:^(NSString* email, NSError* error) {
NSLog(@"Email %@, Error: %@", email, error);
}];
[self presentViewController:shareEmailViewController animated:YES completion:nil];
} else {
// TODO: Handle user not signed in (e.g. attempt to log in or show an alert)
}
這不是關於編程? –
不! Lemme發佈代碼 –
@ DaniellaD'Cruz這真的是你要用Twitter解決的問題。我不相信任何人都可以幫助你,因爲錯誤完全依賴於Twitter。 – Daniel