06-20-2019 06:54 - edited 07-25-2019 02:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-20-2019 06:54 - edited 07-25-2019 02:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I am working on android project where I am thinking to create a single platform for multiple devices and also to integrate fitbit web api request.
I need to fetch fitbit data of various user's.
I am not aware of how can I fetch data of different users.
should i use Client Secret, Client ID same for all user for authorization request.
Last question fit bit web api can get data for all latest devices.
06-21-2019 15:01
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



06-21-2019 15:01
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @umeshwar
Yes, you will need to register your application with us which will give you a client id and client secret. Your application will need to present the authorization flow to your users. The user's will follow the authorization flow to consent to share their fitbit data with your application. Once consent has been given, your application will receive an access token and refresh token. The access token is used to execute the API call to retrieve the data. The refresh token is used to get a new access token and refresh token when the access token expires.
The authorization process is documented here: https://dev.fitbit.com/build/reference/web-api/oauth2/
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

