Use app from different account to access API


#1

So my scenario is that I created an app with account A. I use this to tweet from a script that’s run daily. Now I want to do something similar but tweet using account B.

To authenticate with twitter I am using “consumer key”, “consumer secret”, “access token” and “access token secret”. That way I can post to account A from my script.

How would I get these information using the same app but account B?


#2

There is as far as I know no easy way, as apps would usually implement an OAuth flow to let users authenticated. The tokens you can generate are usually just intended for easy testing. (But your usecase is completely fine)