12-18-2018 00:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

12-18-2018 00:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello,
I want to sync fitbit client data into application database using scheduler or cron job. So basically I want to perform following operations:
a) I have a list of clients with fitbit device Id's.
b) I want to save my all clients data into database and saved data will be shown on website like heart rate/health data etc.
c) I am able to get client data through single authentication but I need a way to get data in one go from fitbit api.
d) I am using c# application.
e) Please suggest a way to get all clients data from fitbit server in one go so that I can save same into my database.
This is quite urgent as I am developing health api system.
Thanks,

12-19-2018 04:06
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

12-19-2018 04:06
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Any update on this?

12-26-2018 22:34
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

12-26-2018 22:34
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Fitbit team please reply.

01-03-2019 15:43
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



01-03-2019 15:43
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
All of the Fitbit users whose data you want to store will need to authorize your application to their Fitbit data . This is completed through an OAuth2 Authorization request. Once the user has authorized access, your application will be able to fetch the user's data using the Web API calls. We recommend implementing the subscription API so your application is notified when the user has new data to download instead of polling for new data.
Make certain you read the Platform Terms of Service to verify your application is in compliance.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

01-04-2019 00:55
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-04-2019 00:55
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Ok it means the process will be:
a) First user authenticate via fitbit userid and password with my web application.
b) Once authentication is done then application will be able to get fitbit client data.
c) fitbit user id and password is required to access fitbit data.
d) Only device Id will not provide data.
Please confirm.

01-04-2019 14:45
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



01-04-2019 14:45
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
When the Fitbit user authorizes sharing their data with your application, you'll receive an access token for that user. This access token grants your application access to the Fitbit user's data. You will not need the Fitbit user id and password to access the data. Depending on the authorization grant flow used, your application may receive a refresh token which is used to obtain a new access token, maintaining access to the user's data.
A device ID is not used to retrieve data through the Web APIs.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

01-06-2019 20:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-06-2019 20:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
okay but fitbit user can only authorized using his fitbit user id and password right?

01-07-2019 09:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



01-07-2019 09:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Correct. In your application when you prompt the user to share their Fitbit data, the user will need to sign in with their Fitbit credentials to complete the authorization flow. We have a OAuth2 Tutorial you can walk through that demonstrates this process. It can be found in https://dev.fitbit.com within your application settings
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

01-08-2019 03:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-08-2019 03:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Ok.
Now next question 🙂 how frequently we can get data from api. Suppose a user is performing activity within 5 sec/10 sec/15 sec then while making api calls can we get data with frequent api calls?
Because we will have 'n' no of users so data will load in bulk way.
Please suggest.

01-08-2019 08:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



01-08-2019 08:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
The rate limit for the APIs is 150 API calls per hour per user. The Fitbit device will automatically sync with our servers every 15 minutes when it's near a bluetooth or wifi connection. It's recommended that your application support the Subscriptions API so your application can be notified when a user has updated their data and retrieve the new data. This should prevent the need to constantly poll our servers looking for new data.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

01-08-2019 16:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-08-2019 16:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi GordonFitBit,
Is it possible using Microsoft PowerBI to access FitBit users data once user consented or granted their access. ie. I have registered the PowerBI app dev.fitbit and OAuth2 but I have these questions:
1. get my organisation user to grant / consent access to their FitBit data?
2. from PowerBI app, how I can access or have PowerBI app connect to the consented access data?

01-10-2019 13:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



01-10-2019 13:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I provided a response here:
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

