According to the docs, this should work, but it doesn't. Who has gotten the heartrate intraday series call working?
See screenshot for details:
https://api.fitbit.com/1/user/-/activities/heart/date/today/1d/1sec/time/00:00/00:01.json
{
"errors": [
{
"errorType": "insufficient_permissions",
"message": "API client is not authorized by Fitbit to access the resource requested. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process."
}
],
"success": false
}https://api.fitbit.com/1/user/-/activities/heart/date/today/1d.json
Works fine
I've got intraday heart-rate calls working. However, it seems to me that your problem may not be with that API call, but with some aspect of your authentication. Have you requested the scope resources that you need (https://dev.fitbit.com/docs/oauth2/#scope)?
Best AnswerYes, that scope should be okay. Have you met the requirements for access to intraday heartrate data (eg, app registered for personal use, etc)?
Best Answer
Best AnswerI'm using this to handle the OAUTH2 stuff. If you're not using php, that probably won't help you much.
My site is http://www.gondwanasoftware.net.au/exerbyte/ (but that won't help you much either).
Best Answer
Best Answer