Potentially stupid question here, but I will ask anyway.
I’ve finally got around to writing my own authentication process. When you exchange the authorization code for the access token, I receive, as expected, the “expires_in” argument which looks to be set at 107999.
Now assuming this is in seconds, that is just under 30 hours. The API guide states tokens are valid for several hours.
Has the token expire time been increased, or is it set at 30 hours because its a confidential client?
I have no issues either way, just trying to clarify when I should be refreshing my token.
Thanks, I will schedule in my refresh for 29 hours
It’s in PHP. I handle the initial authentication via browser which once authenticated stores the credentials in MySQL, and then back end PHP scripts take over and pull all my transactional data into a table on a schedule.
I’m not entirely sure what I’m going to do with the masses of transactional data I have yet, but for now I’ve overlayed the countries I visit on to Google Maps: