08-09-2017 10:28
08-09-2017 10:28
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
08-09-2017 14:01
08-09-2017 14:01
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)?
08-09-2017 16:16
08-09-2017 16:16
08-09-2017 16:45
08-09-2017 16:45
Yes, that scope should be okay. Have you met the requirements for access to intraday heartrate data (eg, app registered for personal use, etc)?
08-09-2017 18:45
08-09-2017 18:45
08-09-2017 19:37
08-09-2017 19:37
I'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).
08-09-2017 19:45
08-09-2017 19:45
10-20-2017 09:44
10-20-2017 09:44