gpt4 book ai didi

ios - 仍然没有收到来自 fabric for twitter 的电子邮件

转载 作者:行者123 更新时间:2023-11-29 10:23:37 24 4
gpt4 key购买 nike

我提交了 Twitter 审核申请。他们列入白名单,今天早上我收到一封邮件。我提供了隐私 URL 和条款和条件 URL。检查来自用户框的请求电子邮件(权限选项卡)。但我仍然没有收到邮件 ID。请帮助..

    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

这是为什么?为什么对 fabric 操作如此天真???

 - (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)
}

最佳答案

Fabric 团队帮助我们解决了这个问题。我们应用程序的 info.plist 有不正确的消费者 key 。当您第一次设置 Fabric 时,它会在您的 info.plist 中放置一个消费者 key 。当您设置 TwitterKit 时,您需要将该 key 替换为您的 Twitter 应用程序的消费者 key 。这为我们解决了问题。谢谢

关于ios - 仍然没有收到来自 fabric for twitter 的电子邮件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33536942/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com