I'm using this great package to connect to the major social networks for authentication.
I probably don't fully understand the whole OAuth procedure but i get this error message when trying to connect to Google:
Error: the access token expired and no refresh token is available
I have two questions:
1. is there a way to refresh the token or once i get this error message there is nothing i can do?
2. I gather that i need to do all kinds of storing to a database, can you direct me to something I can read or can you explain the basics here?
Harel Mazor - 2013-09-10 11:56:02 - In reply to message 4 from Manuel Lemos
offline is set to true, the token had expired, and I get $success = false when calling $client->CallAPI(...)
I'll check tonight if this is related to session variables but i think i already tried it...
in any case, you are saying that if I have a correct client id and secret it should work?
Harel Mazor - 2013-09-10 18:29:25 - In reply to message 6 from Manuel Lemos
Thanks, it must have been something with the session variable.
I returned home now, restarted FF and it started working again.
Thanks a lot for your dedicated help and reply,
Also, I wanted to know if the code can be used in a commercial application.
(I read the license agreement but could not understand it fully)
if so, is there something special I need to do? write something some where?