我想使用Twitter的API并得到响应iOS-如何获取Twitter帐户访问权限?
{"errors":[{"message":"Bad Authentication data","code":215}]}
我使用的代码twitter site 我已经设置Twitter帐户在模拟器也尝试在设备上(也做注销并重新记录重试很多次-in),但我无法得到访问授予
[self.accountStore
requestAccessToAccountsWithType:twitterAccountType
options:NULL
completion:^(BOOL granted, NSError *error) {
if (granted) {
// getting granted false i.e. I am not reaching here
}
}
所以,我需要另外做什么?任何评论,答案是赞赏。
现在这个twitter API是过时的。 – Tirth