Displaying all 3 messages
Private User
10/22/2011 at 2:31
Is it possible to return an additional timestamp to the result to tell when the token is not valid anymore?

The results you get today is
{"error_description":"invalid token","error":"invalid_token"}
or
{"result":"OK"}

What I want if OK is something like this if there are a time-restriction (expires_in) on the connection:
{"result":"OK","valid_until:"1305835869"}

Not a big deal, but expires_in require that you know "from when".
Private User
11/2/2011 at 15:35
We do provide the expires_in timestamp when we issue a token. We can add a timestamp when you check if it is valid. I will add it as a ticket for the future release.
Private User
11/6/2011 at 15:16
Thanks, - the returned expires_in is by the way wrong for desktop connection, - it says 24 hours but last 3 days. I do store the expires_in together with the timestamp for getting a token, but I obviously cannot use it... Anyhow, - I just ask for re-approve when the key is not valid anymore.

Keep it on 3 days for heavy jobs...
rails-1a-011