05-13-2015 00:45
05-13-2015 00:45
The new endpoint for retrieving activities without having to issue a separate request for each day is great! Any plans to support something similar for other data (sleep, weight, steps)?
btw the maximum limit appears to be 100, not 500 as documented.
Answered! Go to the Best Answer.
05-14-2015 11:41
05-14-2015 11:41
No plans ths share on this yet, but we appreciate the feedback!
I have updated the documentation.
05-14-2015 11:41
05-14-2015 11:41
No plans ths share on this yet, but we appreciate the feedback!
I have updated the documentation.
05-27-2015 23:57 - edited 05-28-2015 00:30
05-27-2015 23:57 - edited 05-28-2015 00:30
Hi @ejain, I've been struggling with the GET-ACTIVITIES-LIST endpoint. I always seem to get an empty array for the 'activities' key in the JSON response. The afterDate parameter value I'm passing is '2015-05-01' and I've checked to make sure that I actually have activities done after that date. Am I missing something here? Does this endpoint only retrieve activities that were manually logged by the user?
Update---
Is this endpoint meant to get the number of steps taken after/before the given date?
05-28-2015 09:21
05-28-2015 09:21
To get step count totals, use the Get-Time-Series endpoint. The Get-Activities-List endpoint is for what is labelled "Exercise" in Fitbit's mobile apps (though it's still called "Activities" in the Web interface)...
05-28-2015 17:01
05-28-2015 17:01
@anashalb wrote:
I've been struggling with the GET-ACTIVITIES-LIST endpoint. I always seem to get an empty array for the 'activities' key in the JSON response. The afterDate parameter value I'm passing is '2015-05-01' and I've checked to make sure that I actually have activities done after that date. Am I missing something here? Does this endpoint only retrieve activities that were manually logged by the user?
Currently, only manually logged activities ("exercises") are returned. In the future, device-logged activities will be returned.
06-27-2015 09:34 - edited 06-29-2015 17:44
06-27-2015 09:34 - edited 06-29-2015 17:44
Thanks @JeremiahFitbit. I spent some time playing around with the API via Temboo OAuth and assumed I was doing someting wrong when I couldn't return exercises that I knew to be present in my account. Then I found this post. What I am wondering is, how frequently is the API changed? Is there an estitmate on when device logged activities will be enabled? Is this method being actively developed? Or is just in an icebox/backlog?
Thanks.
07-01-2015 07:01
07-01-2015 07:01
Hello guys,
When I call the
/1/user/-/activities/list.json?afterDate=2015-06-01&sort=desc&offset=0&limit=100
I always receive the next error:
{"errors":[{"errorType":"oauth","fieldName":"oauth_access_token","message":"Invalid signature or token '<signature>' or token '<token>'"}],"success":false}
with the same credetials I can call another APIs. And in this response signature seems to be another that I send (I send with %, bet receive an error with =).
Don't you know what can cause this?
07-13-2015 18:13
07-13-2015 18:13
@Slavik: It means that your signature is invalid (or the token, but if the token works on other calls, it's the signature). Have you tried using the OAuth 1.0a signature debug tool to compare? https://dev.fitbit.com/apps/oauthtutorialpage
10-27-2015 20:55
10-27-2015 20:55
Hi
do you know when device-logged activities will be returned by the GET-ACTIVITIES-LIST endpoint?
is there another way to get a log-id? (whitout to use a brother, just the API)
Thank you
02-19-2016 05:15
02-19-2016 05:15
Hi Nick,
Did you find a way to get device-logged with the API ?
02-19-2016 08:57
02-19-2016 08:57
@Steeven Currently you can't get device-logged activities, only manually logged activities. This is still a planned feature, so please be patient.