|
|
| |
1. database storage of tokens for scheduled querying |
|
Reply |
|
|
 michel kollenhoven | 2013-01-23 17:18:51 |
i wold like to use this class for quering api's authomaticly and without user intervention, how do i use for example mysql for storage of the tokens etc?
|
| |
2. Re: database storage of tokens for scheduled querying |
|
Reply |
|
|
 Manuel Lemos | 2013-01-30 08:14:58 - In reply to message 1 from michel kollenhoven |
Once the process of obtaining the OAuth token is completed, you can just take the values of the $access_token class variable and store it in your database.
You also need to store the value of the $access_token_secret variable if you are accessing an API based on OAuth 1.0 or 1.0a versions.
Then to make calls the API you just need to set those variables from the values stored in the database. |
|