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

Processed data from fitbit in mobile app

Hi!

 

I'm trying to build my own android app. First of all I will login with my fitbit account in my android app. My questions is: is there a way I can access my fitbit data in my android app? I want to have access in my app to my heart rate data and my steps in order to be able to make some graphs. I din't find anything helpful in this problem and I'll be very grateful if you have some good documentation that will provide me good answers.

Best Answer
7 REPLIES 7

Hi @DenisaRoxana,

 

I believe I saw an email from you through our support form, and I've provided you with a response. Can you confirm that you've received my email?

 

Thanks!

Best Answer
0 Votes

Hi! Yes, I recive your email. Thanks a lot!

Best Answer
0 Votes

Sorry, I think I accidentally reported this message, when what I wanted to do was like it as I would like to find out how to access the same type of data!

Best Answer
0 Votes

Hi John, I would like to access the raw data from my Fitbit. I'd like access to raw historical sleep data (bed time, wake time, restlessness, etc) , as well as activity data, step count and type of physical activity (vigorous, moderate, mild).

 

Many thanks!

Val

Best Answer

Hi @ValResearcher,

 

Welcome to the forums!

 

I'll share what I've already with the user above:

 

You can develop an application to pull data at rest from your Fitbit account. You must have a Fitbit account and authorize your application to access your data using oAuth 2.0.

I'd recommend registering an application at dev.fitbit.com if you had not already, under the "Personal" classification. The "personal" application classification automatically grants access to activity and heart rate intraday time series data to the owner of the application.

 

To use the personal application type, register an application using the following instructions:

1. Go to https://dev.fitbit.com/apps.
2. Click the tab "REGISTER AN APP"
3. Complete the form. For “OAuth 2.0 Application Type”, select “Personal”.

Existing applications may be reclassified as personal by selecting “Edit Application Settings” and changing the “OAuth 2.0 Application Type” to “Personal”

Also, please check out our documentation if you need help setting up your application: https://dev.fitbit.com/build/reference/web-api/oauth2/

I hope this helps. Let me know if you have any further questions.

Best Answer

Hi again! I have another question.. I need to connect in my android app with my fitbit account in order to get the data I need?

Best Answer
0 Votes

@DenisaRoxana You'll need to authorize your application to access your Fitbit data using the Oauth 2.0 method. Have you checked our documentation?

 

Your application will need to provide you with the authorization URL (provided in your application management page at dev.fitbit.com) after registering your client. The URL will take you to Fitbit's authorization page in which you will select which data to share with your application. Once you consent, Fitbit will provide your application with your access token, which you'll use to execute API calls to your account from your application.

 

I hope this helps. Let me know if you need further assistance.

Best Answer