Vincent - 2013-07-05 13:57:32 - In reply to message 3 from Vincent
I tried the latest version. It works properly without errors. Still I can't figure out how to reuse the database token. After authorizing my application to Twitter a database record is added into my database and '/statuses/home_timeline.json' is properly called.
What steps do I need to take now to reuse the tokens from the database? I tried adding '$client->user = 1;' and '$client->offline = true;'. After authorizing the application, I receive the message 'OAuth client error - Error: it was not found the OAuth session for user 1'. (Index/User 1 is correct, there is only one database record)
What I need:
- One time authorizing my application
- Save tokens to database
- Reuse tokens from database for handling Twitter API
- Reauthorize my application when tokens are out of date
Can you please help me out? I'm stuck and put hours in a solution. I like your package because you support all major social media APIs. Thank you in advance for your help.