06-15-2016 09:25
06-15-2016 09:25
Is there a callback url, so we are getting notified when someone Revoke Access from fitbit website.
Greetings
Alex
Answered! Go to the Best Answer.
06-15-2016 10:50
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.
06-15-2016 10:50
No, but this is a planned feature. You can detect when a person has revoked access by examining 401 errors when making an API request. A revoked access will look like:
{
"errors": [{
"errorType": "invalid_token",
"message": "Access token invalid: [access_token]"
}],
"success": false
}
06-15-2016 10:50
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.
06-15-2016 10:50
No, but this is a planned feature. You can detect when a person has revoked access by examining 401 errors when making an API request. A revoked access will look like:
{
"errors": [{
"errorType": "invalid_token",
"message": "Access token invalid: [access_token]"
}],
"success": false
}
06-16-2016 04:02
06-16-2016 04:02
thank you very much
Best Answer