You need to run the token / token secret that you get in the database or other long-term storage method. Then you pass it to an object that performs OAuth authentication, so you don't have to constantly ask your user. With PHP, you can store them in MySQL or a similar database and load them in $_SESSIONwhen the user logs in to pass values.
source
share