Forum Posts

Editing Existing Activity Logs

I'm thinking of writing an app which gives users extended abilities to edit existing activity logs, adding more details for automatically recognised or manually selected exercises. However, I have studied the API and although there are obvious endpoi...

Invalid or expired refresh tokens

Starting at about 3:15am central time yesterday (Sunday 11/6/2016), our application started receiving a large number of invalid_grant-Refresh token invalid errors.  We are receiving an error for affected users every time our app receives a Fitbit sub...

Extracon by Recovery Runner
  • 805 Views
  • 1 replies
  • 0 votes

refresh token for other users

Im trying to refresh token for another user of my app. Before i get intraday heart rate data. But i get this response.. {StatusCode: 400, ReasonPhrase: 'Bad Request', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:{Transfer-Encoding: c...

JimmyL by Recovery Runner
  • 775 Views
  • 2 replies
  • 0 votes

Resolved! Time of authorization code

Hey there. The authorization code to get Access token, how long do it last.The access token last default 28800 sec i know that but i cant find the time for authorization code. Jimmy

JimmyL by Recovery Runner
  • 899 Views
  • 1 replies
  • 1 votes

Resolved! Intraday data error

I have asked for Intraday Data acces for my app, and it was granted. I qoute below Hi Jimmy,Your application should now have access to the intraday data. Please note that your application must continue to comply with the Fitbit API terms of service. ...

JimmyL by Recovery Runner
  • 1002 Views
  • 2 replies
  • 1 votes

Resolved! Subscription development requirement

I have two questions about subscription requirement for developer.   1.  It states that the Sel-signed certificates are not supported.   During development, developer uses self-signed certificate.  Is there workaround to avoid buying certificate? 2. ...

Resolved! insufficient_scope

Hey Im trying to get some data freom the API, and i can get profile but when i try to get Heart Rate with this call. https://api.fitbit.com/1/user/-/activities/heart/date/today/1d.jsonBut I get this error Views/Fitbit/{"errors":[{"errorType":"insuffi...

JimmyL by Recovery Runner
  • 1273 Views
  • 1 replies
  • 0 votes

Resolved! No url for callback when i wanna register my app

Hey There This might be a stupid question. I'm currently on my final exam as a software developer and i want to gain access to the API.My project is a software application that grabs Heart Rate data from a fitbit gear when i do an exercise.then i won...

JimmyL by Recovery Runner
  • 872 Views
  • 3 replies
  • 1 votes

1.0a to 2.0 User migration problems

Hello I am working on migrating our internal company site to OAuth 2.0. I am trying to use the migration path to get the Oauth 2.0 refresh token for all currently registered uses but I am getting an Invalid authorization header error. One issue is th...

jwaller by Jogger
  • 894 Views
  • 3 replies
  • 0 votes

Resolved! Question about expires_in default value

My understand is that the expires_in is 3600 (1 hour).  However the online documetation has default  28800 (8 hours).   When requesting Access Token via the WebApi Authorization Code Grant Flow , the expires_in is indeed 28800.  This is somewhat conf...

Resolved! Limit on access tokens per day ?

Hello: I have a general question, is there a limit on how many access tokens for a user I can get per day ? This is my call to get a new access token  public const string BaseUrl_FitBit = "https://api.fitbit.com/oauth2/token";public const string GetT...

Unknown redirect_uri

What should I set for redirect_uri when I don't know what it is? My plugin for HomeSeer uses HomeSeers own web server, and can't know all the URIs the users have. It might be "http://localhost", "http://localhost:81", "http://some.public.ip" or any o...

Moskus by Recovery Runner
  • 806 Views
  • 3 replies
  • 0 votes

Resolved! API Call

Hello:  I am doing an API Call to retrieve data for my heart rate. I stopped wearing my fitbit about one-year ago and for some reason it reutrns data for my heart rate. I am just wondering why it does not return an empty json, since I stopped using m...

Registering an android application

I would like to integrate fitbit with my android application.  The questions I have:  When I go to https://dev.fitbit.com/apps/new to register my application, it asks for an application website and call back url. I am not sure what I should put for t...

Connection error

Hi,I developed a website using c# which get user steps from Fitbit. And it was working fine on my local host, but when I uploaded the files on the server on live, I got error. it showed the Fitbit site and once I login to give the auth to the applica...

Reem by Recovery Runner
  • 805 Views
  • 3 replies
  • 0 votes

Function returning Result = "{Not yet computed}"

In the code below: var profile = client.GetUserProfileAsync(); try{    UserProfile uProfile = profile.Result; I'm getting for profile:Id = 95, Status = System.Threading.Tasks.TaskStatus.WaitingForActivation, Method = "{null}", Result = "{Not yet comp...

OAuth 2.0 .NET error

I've been trying to get OAuth 2.0 working with the Async calls..  I finally got it to allow me to log in, however, when I try and do a call to get data from the Fibit.Api.Portable.. i'm getting the following error: Searches related to Method System.R...

How to get started

I have downloaded the sample app and got it running but can go no further. The documentation kind of tells what needs to be done, but very little on how to do it. There are many questions but I will start with these.  So how does my application make ...

Lost device data if the user has charge hr device.

Could you try to check the device api? i got the problem when the user has a Charge HR with their account. They linked the fitbit account with my application when i would like to retrieve the device data it empty. Thank you.

thikon by Recovery Runner
  • 594 Views
  • 0 replies
  • 0 votes

Resolved! Callback URL for Windows apps

Hi, I can't seem to figure out the callback url for Windows Store Applications and xamarin.ios and android. I tried [appname]://[string] but it does not recognize my app with the appname. Any recommendations? Thanks.

prflores by Recovery Runner
  • 930 Views
  • 2 replies
  • 0 votes

Fitbit API for Windows Phone

I'm currently trying to develop a simple application for Windows Phone 8.1 using the Fitbit API where a user logs in with their Fitbit login details (using OAuth) and a simple page is then shown with some of their Fitbit information (such as height, ...

Invalid refreshtoken

Hello, We perform multiple requests for customers with fitbit sensors in batches. Sometimes for a number of people in the batch we receive the notification that the refreshtoken is invalid. We cannot find a reason for this and most requests are OK.  ...

HUSSDev by Jogger
  • 760 Views
  • 3 replies
  • 0 votes

Subscriber log showing SSLPeerUnverifiedException

We tried to implement ssl for our subscriber notification's but we keep seeing the error "SSLPeerUnverifiedException" in the subscriber logs.  I'm not positive but I think it may be caused by an issue with SNI.  Is there any plans to add support for ...

Mark-Z by Jogger
  • 685 Views
  • 3 replies
  • 0 votes

Can anyone see the error

Hello, I am using the lastest .NET Fitbit api (release candidate) and i managed to get the callback working and I am getting a code back. But apparantly the string I get from the Fitbit website has errors in it               var appCredentials = new ...

Wijnand by Jogger
  • 721 Views
  • 2 replies
  • 0 votes

Website with OAuth 2.0

Hi,I developed a website using visual studio asp. the website was working perfect. But now with the upgrade of OAuth to 2.0, everythink has broken and I tried to register it as a new app to update everything but still does not work.here is the code:...

Reem by Recovery Runner
  • 752 Views
  • 2 replies
  • 0 votes

Resolved! Callback URL and subdomains

Hi, Im in the process of updating our implementation from Oauth 1 to Oauth 2, and I noticed you are now validating the Callback URL field (in the application) against the redirect_uri value Im sending in the request.  I noticed it while debugging, be...

Coco19 by Jogger
  • 1045 Views
  • 2 replies
  • 0 votes

Subscription Endpoint gets disabled

Hello Fitbit team,We are noticing a high number of failed delivered notifications to our system. The issues seem to have started around 4PM EST, April 13th, 2016. As of midnight of April 14th EST time, our subscription endpoint keeps getting disabled...

RoxanaF by Base Runner
  • 638 Views
  • 1 replies
  • 0 votes

Resolved! Recent Weight & Body Fat

I'm able to get the weight & body fat for a specific date, but how can I simply get the latest/most recent data? The documentation says:"If you need to fetch only the most recent entry, you can use the Get Body Measurements endpoint." But it then doe...

Grimster by Recovery Runner
  • 861 Views
  • 5 replies
  • 0 votes

Research Projects

I am tasked to download FitBit data for my organization. I work for a hospital and the research team here has issued Surge to all research subjects. We need to download the sleep data for these subjects for analysis. What is the best way to get data ...

mrjkhan by Jogger
  • 1162 Views
  • 2 replies
  • 0 votes