10-09-2018 10:22 - edited 10-10-2018 06:13
10-09-2018 10:22 - edited 10-10-2018 06:13
I wait for a ping to be received and once I receive the ping I check if I need to renew the access token. However if a user does not sync their data for a while and then syncs after their access token has expired would I still receive the ping and be able to refresh their access token or do I need to constantly refresh their token manually without waiting for a ping.
Thanks!
Best Answer10-29-2018 15:43
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
10-29-2018 15:43
Hi @TATeam,
As long as the user has not revoked access to your application, you should still receive the subscription notifications when a user has updated their data. The refresh token should not expire. When you get a notification (ping), you should follow these steps:
Gordon
Best Answer