09-06-2018 05:04
09-06-2018 05:04
I'm calling the daily activity summary for myself, e.g.
user/-/activities/date/2018-09-01.json
I get a response, but the activities section is blank, e.g.
"activities": [],
Looking at the API reference it says that "the Activities (Friends or Anyone) privacy permission grants access to a user's resource with the exception that the response DOES NOT include a detailed list of activity log entries". However, I can't find the Activities setting on my profile page, and I would not expect it to limit retrieved information if I'm the logged in user.
What am I doing wrong? How do I make sure I get all my activity data?
Andrew
09-10-2018 08:40
09-10-2018 08:40
I solved this myself.
The "Get Daily Activity Summary" API only includes a subset of activities, those registered manually.To get the full list of activities for a day you need to call the "Get Activity Logs List" API.
It would be good if someone from Fitbit could sort out the API documentation so that this is explicitly explained under the first API.