Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Now that iOS has Twitter integration, and many apps use these credentials rather than asking you for the Username and Password, I was wondering if there was any way to tell each app which account to use.

For example, in Settings > Twitter, you can sign on to multiple accounts. Now let's say I use 2 apps that both have Twitter integration. Is there any way App A could use one account on Twitter and App B could use my other account?

Furthermore, I notice that at the bottom of the Twitter settings page, it shows a list of apps that have access to Twitter. Is there any way to allow each application access to only a specific Twitter account?

I noticed that the Twitter app itself has a

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

Developers access your Twitter accounts through the Accounts framework.

When an app requests access to your accounts, it uses the requestAccessToAccountsWithType:withCompletionHandler: method. (The only supported account type is currently ACAccountTypeIdentifierTwitter.) This grants access to all accounts of that type.

Therefore, unfortunately, apps can't request access to only a single account — you have to give access to all of your Twitter accounts.

share|improve this answer
    
And which one of them will they end up using? –  Senseful Mar 23 '12 at 22:17
    
Whichever they choose. The app can request "accountsWithAccountType:" which gives them a list of all your Twitter accounts. Usually they'll present you with a list of your accounts to choose which one you want to use. –  jtbandes Mar 23 '12 at 22:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.