14 Jan 2014, 13:32
Generic-user-small

Jens Reynders (1 post)

When trying to access your twitter accounts it is possible your not getting any access and the Twitter authentication results in a “Bad Authentication data”. This can be solved by requesting access to the twitter accounts on the iPhone. You do this by placing following code before you’re accessing the twitter accounts.

[self.accountStore requestAccessToAccountsWithType:twitterAccountType options:nil completion:^(BOOL granted, NSError *error){
       if (granted) {
       }
}];
  You must be logged in to comment