Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can I retrieve the gps data (such as altitude and longitude)

ANSWERED

How can I retrieve it from the fitbit api? Is it possible?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions
Best Answer
0 Votes
6 REPLIES 6
Best Answer
0 Votes

Thanks for response. But how can I retrieve the log id by api without manually looking for the web log page?

Best Answer
0 Votes
Best Answer
0 Votes

https://api.fitbit.com/1/user/-/activities/list.json

 

in this endpoint it doesn't have a encoded user_id 

how to I let the system know I am getting the specific user_id log?

Best Answer
0 Votes

@ust Which oauth flow are you using? Because user_id is included in the token endpoint. Otherwise, you can get encodedId from the profile endpoint.

Andrew | Community Moderator, Fitbit

What motivates you?

Best Answer

I can get the encoded user_id from the oauth, but the log api doesn't seems have a place to put the user_id to get the correspond user_id log

Best Answer
0 Votes