Dirk Vandycke - 2013-02-21 01:28:25 - In reply to message 10 from Manuel Lemos
Hi Manuel,
this finally got me looking in the right direction
everything was (as you first mentioned) working fine on your end
it turned out to be this stupid php configuration with session file permissions
Dirk Vandycke - 2013-03-01 23:44:52 - In reply to message 10 from Manuel Lemos
This might point to the problem I'm having
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/monest.net/httpdocs/test/dirk/twitter/oauth/oauth_client.php:1730) in /var/www/vhosts/monest.net/httpdocs/test/dirk/twitter/oauth/oauth_client.php on line 1846
Unable to get access token
Manuel Lemos - 2013-03-02 08:08:10 - In reply to message 12 from Dirk Vandycke
The example scripts are meant to be used only on the Web because the OAuth protocol requires the presence of the user to grant permission to access the API.
If you want to just make an API call, do not call the Process function. Just set the access_token and access_token_secret variables manually with previously obtained values and call the CallAPI function. That will work while the token is valid.