I am developing an android application and want to integrate Twitter.
What I understand is if on user\'s device, official android Twitter app is installed then we ca
well you use the secret and consumer key to actually get a token. by using the android accounts you get the token from them.
So in general to do a tweet for example you only need a token and as i said you get that one either from the accounts or from twitter4j. so after you get the token from the accounts you need to set it as your twitter 4jsdk token and use the api regularly.
Hope this makes sense.
The com.twitter.android.oauth.token
and com.twitter.android.oauth.token.secret
credentials returned by Android's AccountManager only authenticate using Twitter's official Consumer Key and Secret. AFAIK They're not actually useful to third party developers.
With respect to Twitter I'll just say the official Consumer Key/Secret pair is "out there", and if Twitter changed them via an app update they'd break OAuth for every user without that app update.