Forum Posts

Resolved! unauthorized_client - The client is not authorized

Hello,I'm using Xamarin iOS framework, I'm opening a browser(not a webview) in the application, so that I can authorize. After inserting my username and password and clicking log in, I'm forwarded to a page which says: "The app you're trying to conne...

Resolved! Too many request

Im getting this error sometimes, and i have read somewhere that im allowed to do 150 requests per hour.But when i get this error, i havent done 150 requests.  

JimmyL by Recovery Runner
  • 6894 Views
  • 8 replies
  • 2 votes

Web API

Hey buddies. I'm working on a final year project My professor asked me to make a web app in which I have to make parental control access to the childs mobiles. For which I need to make some APIs and then connect them. I don't have much knowledge in w...

Fitbit aria 2 weight data based on time

Hi Is there any way to retrieve Fitbit aria weight data based on time, not date by using web API. For e.g if I have taken weight at 8.00 am and then on 10. 00 am on the same day. Is there any API available to retrieve the weight data of 10.00 am only...

Gym-Link?

I just recently purchased the "Charge HR" product.  I particularly think it's cool that the android FitBit app seems to be able to show an almost real-time update of the metrics being fed by the device!  One of the reasons I was shopping for a heartr...

Intraday steps data doesn't add up to the total steps

Hello, We have a system that collects both intraday and summary data for our users. It has come to our attention that there's been a few instances where the dowloaded intraday step data does not add up to the users reported total steps for the day. U...

IQVIADev by Recovery Runner
  • 1011 Views
  • 5 replies
  • 0 votes

Resolved! Personal desktop app allowed?

Hello, for personal use, I'm interested to develop a Windows desktop app to import data from a third party hardware (input: excel file -> output: fitbit api). In order to use your API: I must have an application website?I must be a company?I must hav...

Mark81 by Tempo Runner
  • 1632 Views
  • 4 replies
  • 2 votes

Fail to get access_token

Hello, I created a new Fitbit Web API in "Personal" mode with the "Implicit Grant Flow".This in order to make a call to the API from a core.net asp project.I force the Implicit Grant Flow by passing the argument answer_type = token during my authoriz...

POST Log Activity same start time

Hi, I'm posting activities to POST /1/user/-/activities.json - Log Activity I've got a scenario where I'm adding two activities with the same start time (I know, you can't do two things at once) however when attempting to post the second activity, th...

How to use Refresh token?

HiI am new to fitbit, I have integrated fitbit with my application, first time I authenticate user it works fine, I got a token and using that token I can access user activity data.If I call Refresh token before 1 hour, I am able to get a new refresh...

Resolved! Getting Activities Properly

Hello, I want to fetch the Activity data as shown in https://dev.fitbit.com/build/reference/web-api/activity/first example.What I get with that ToFullUrl("/1/user/-/activities/date/{0}.json",  ToFitbitFormat(activityDate));is just the summary even to...

DeniOcean by Recovery Runner
  • 1140 Views
  • 6 replies
  • 0 votes

Resolved! 403 on everything

Dear Reader, so I managed to get the OAuth2 "Handshake". No I am facing problems with the API Calls. string apiCall = ToFullUrl("/1/user/{0}/profile.json", ClientId);// apiCall looks like https://api.fitbit.com/1/user/{ClientId}/profile.json" HttpWeb...

DeniOcean by Recovery Runner
  • 621 Views
  • 2 replies
  • 0 votes

Download file using Web API

public HttpResponseMessage DownloadInvoiceFile(string filePath) { FileStream stream = new FileStream(filePath, FileMode.Open, FileAccess.Read, FileShare.None); HttpResponseMessage response= new HttpResponseMessage(HttpStatusCode.OK);response.Content ...

romah by Jogger
  • 776 Views
  • 0 replies
  • 0 votes

Fitbit data dictionary

Hi, Where can one find the data dictionary for the fibit data exposed via the web api?  Below is an example of the fields from activity > summary.   The "steps" or "floors" field is obvious.  Some are not straight forward (ex.  marginal calories, cal...

Logoff uri

In the custom application, need a way to log off the current Fitbit user and log in with a new users.  Any suggestion? Currently user will have to go to fitibit site to logoff first so another user can log in on a shared computer. Thanks

Resolved! Using fitbit api and get user data

1.Right now I've an android apps related to health care and I've created an user interface for allowing fitbit user to share their data with my apps. when they are allowing me by pressing allow button is it true? by allowing on the user automatically...

mahiuddin by Recovery Runner
  • 4675 Views
  • 6 replies
  • 1 votes

Average Heart Rate API not working

Average heart rate API does not ,working it's always return 0 on every key.when i am calling this https://api.fitbit.com/1/user/-/heart/date/2017-06-14.jsonThis is the response I am getting "average": [{"heartRate": 0,"tracker": "Resting Heart Rate"}...

Posting alarm update results in 'bad request'

I'm trying to use FitBit.Net to post a timer update. I send the following JSON as content: {"time":"07:10+02:00","enabled":true,"recurring":false,"weekDays":[],"snoozeLength":5,"snoozeCount":3}However, this is what I get back: Üpdate response: BadReq...

Resolved! 403 Forbidden

Hey there I have problems getting steps data i getting a 403 forbidden, But i can get distance for a specific day.I think it has something to do with intraday access, but not sure.. 

Welfare by Jogger
  • 1581 Views
  • 2 replies
  • 0 votes

Resolved! Subscription Notification signature validation

Hi all, Im having a problem with Signature validation for a specific signature in my application.  My App is an ASP.NET MVC application using .NET 4.5.2. I receive a Subscription notification signed with the Header -> X-Fitbit-Signature: sq2a+MVIgWH3...

Resolved! Getting 400 response trying to get activities list

I have an app (configured as Personal) that successfully authenticates and retrieves summary data, but it fails when I attempt to get my activities list. The scopes I'm authorizing are:string[] scopes = new string[] { "activity", "heartrate", "profil...