Forum Posts

API to Database

Hello, I am building my API integration between Fitbit and my Clud DB. I would like to know if it is possible to build the database framework without authorizing with Oauth or do I need to register a "test" application first and than use that oauth t...

MikeDev by Jogger
  • 640 Views
  • 0 replies
  • 0 votes

Resolved! c# implementation for fetching data from Fitbit

I have got two simple questions about fitbit app. I want to create an application which will fetch data from user account. Therefore I created an fitbit account and I got credentials for my account. Now I want to create an app with which I will fetch...

chrathan by Recovery Runner
  • 10042 Views
  • 13 replies
  • 1 votes

Problems with Intraday Time Seris API

Hi I have applied, for and been granted, access to the intraday time series for my application. I am still developing the applciation and therefore it's undergoing a lot of testing and change at the moment. Recently, I had it working well for accessi...

Not receiving notifications for all users

My client application http://fitbitweb.azurewebsites.net/ does not receive notification for all users  There is at least one subscription  (3VR4K9). Please help me on that.    Moderator edit: Updated topic name to be more descriptive

Body Fat Log returns same value for each day

Hello all, I receive an unexpected response when I'm requesting the logs for Body Fat with:-> GET https://api.fitbit.com/1/user/[user-id]/body/log/fat/date/[base-date]/[end-date].jsonFor some users I receive a list of the same values for each day, wh...

devhuss by Jogger
  • 604 Views
  • 0 replies
  • 0 votes

Access "Activity Group Members" using API

Hi I have a created a "Activity Group" and would like my program to access this group and its members' data programmatically. Is this possible, if so what is the way. I have registered my app and am able to get single users data, but as I mentioned a...

Resolved! Subscriber has not been successfully verified.

Hello, My Subscription Endpoint is like;http://myapplication.com/SubscriptionHandler.ashx?provider=Fitbit For verification your servers are hitting endpoint attaching ?verify=123 regardless there is already a querystring parameter exists or not. So i...

reyou by Recovery Runner
  • 1105 Views
  • 5 replies
  • 1 votes

activities created by tracker device are not returning

Hi I am trying to get the activites for a particular date but it does not returm me activities created by tracker device. Here is the API command that I am using https://api.fitbit.com/1/user/3MXMNB/activities/date/2015-11-15.json This returns activi...

perkit by Jogger
  • 635 Views
  • 2 replies
  • 0 votes

Fitbit API Returning 403 for Subscriptions

Hi I am working on a project that utilises the Fitbit API, with OAuth2 - all has gone well up until now, but i have hit a snag with regards to the subscription api that only presents itself in certain circumstances. As part of the  OAuth 2.0 Authoriz...

HELP : Need refresh token without reauthorize

Iam able to perform authorize and callback , getting access token with a bearer token and refresh token.bt iam not able to perform api call with that, getting forbidden error.is there any way to get new refresh token for existing bearer token ? Need ...

Vignesh by Jogger
  • 608 Views
  • 1 replies
  • 0 votes

SocketTimeout exception from Fitbit from 10/30

Fitbit API subscriber for our product was disabled on Friday[30-OCT-2015]. We did not had any issue with subscriber till last 10/29 Thursday.  We enabled the subscriber on Saturday[31-OCT-2015], We were only seeing failure response Exception (SocketT...

Pictures broken in profile xml?

 Hey, Up till today  I had no problem getting and showing the images of the profile but now neither the 100x100 or the 150x150 work.  for example,  https://d6y8zfzc2qfsl.cloudfront.net/8053F514-0CC1-FBA5-046D-88AC631DFE4_profile_150_square.png is wha...

This request should use the https protocol.

Hello,When I try to use Adding A Subscription endpoint I am getting following error; result: {"errors":[{"errorType":"invalid_request","message":"This request should use the https protocol."}],"success":false}  I am actually hitting https endpoint, p...

reyou by Recovery Runner
  • 1001 Views
  • 2 replies
  • 0 votes

oAuth2 upgrading questions

Does moving from 1.0 to 2.0 require a rework of logic in our app? It looks like we need to do a one-time call to get user only refresh tokens.  How do we detect if this has already occurred so we don't keep doing the refresh? Once we get refresh toke...

brettr by Recovery Runner
  • 596 Views
  • 1 replies
  • 0 votes

OAuth2 c# console application

I am trying to create a console application to download my heartrate data seeing as Fitbit have not deemed it necessary to provide the data in the export data page. Using the Fitbit.net project I can get it to login with OAuth1, unfortunately the hea...

R8VXF by Base Runner
  • 4573 Views
  • 10 replies
  • 0 votes

API Rate Limit

Just trying to download my wife's and my own data at intraday level, but keep smashing into the api rate limit of 150(??) requests/hr per logged in user. I realise I can contact the api team and ask for a higher limit (maybe just for a short term so ...

R8VXF by Base Runner
  • 962 Views
  • 5 replies
  • 1 votes

OAuth2 two legged c#

Hi all,Does anynone know how to implement OAuth2 two legged under c# ?best practices ? librairies ? My final goal is then to get the json data from API activities for the user identified with OAuth2 two legged Thanks

Consume API through SSIS

Hi, Is there away to consume the API and invoke the methods through SSIS package? If so, any examples or sample codes in C# or VB.net would be really helpful.

Vinuja by Jogger
  • 633 Views
  • 0 replies
  • 0 votes

Resolved! Dynamic Redirect Url

Does the FitBit API have the ability to accept a dynamic redirect url? e.g. http://mysite.com/connectresult?myuserid={xxxxxxx} The bolded blue portion of the url would be set in the App Settings but my server would stuff the userid value dynamically....

Resolved! How to start with Visual Studio 2012, ASP.NET, C#

Hello, I am developing a website using visual studio 2012 asp.net and C#. I am working on a similar idea as explained in fitbit API documents "Website A wants to integrate with Fitbit.com so that Website A's users can integrate their Fitbit data into...

Reem by Recovery Runner
  • 3385 Views
  • 10 replies
  • 6 votes

Resolved! The API you are requesting could not be found

I'm using OAuth2.0. I'm able to authenticate and get a valid access token. I then try to do a http GET to https://api.fitbit.com/1/user/-/profile.json setting the "Bearer" header to the access token. That gives me an error "No user found with provide...

Resolved! Getting timestamp of current steps ?

I retrieve the steps per user for the given day, but I would also be interested in getting the timestamp for when these steps were retrieved. I mean, if a user has 1000 steps, its important to know if that is from "now" or from "2 hours" ago (as he h...

Get activities with time details

Hello,Is that possible to retrieve a list of activities that are created by device (like Charge HR) with time details (not only daily summary) ?And how to distinguish which calories where looged by device and which manually by user via the dashboard ...

Slavik by Jogger
  • 904 Views
  • 2 replies
  • 1 votes

Resolved! 401 response on api Log Food

Hi,I am getting a 401 Unauthorized access response when trying to submit a POST request to /1/user/-/foods/log.jsonI have verified my request oauth_signature at http://nouncer.com/oauth/authentication.html which matches with the signature my code pro...

Cortex by Recovery Runner
  • 1286 Views
  • 7 replies
  • 0 votes

Resolved! how does fitbit compute oauth signature for get parameters?

Hi,I am using custom code to communicate with fitbit, using OAuth1.0 for authentication. I am able to get to the point where i can get steps A-E done and G for end points not involving parameters.I am getting 401 error with "Invalid signature" respon...

Cortex by Recovery Runner
  • 872 Views
  • 1 replies
  • 0 votes

Does the Search food api works?

Does the api to search foods work?https://wiki.fitbit.com/display/API/API-Search-Foods I have been trying to make request using this api and keep hitting 401 errors. Can some one confirm if this api works and if yes, how can i use it using a .NET pla...

Cortex by Recovery Runner
  • 794 Views
  • 0 replies
  • 0 votes

Resolved! Problem requesting temp access token(A-B).

I'm having my first attempt at interfacing to the fitbit api from vb.net.I have registered my app and got the necessary keys.I have implemented the HMAC-SHA1 signature and both my base string and my signature match the example given in the API Debug ...

C# MVC app that pulls data from multiple users

I am trying to create a Web App that will pull a group of users activity, pulse, calories, sleep patterns etc to compile a set of reports that would then be sent periodically to their insurance carrier. Anyone know of a way to batch pull data for a g...

Resolved! OAuth 2.0 401 Unauthorized error

Hi! Trying to implement OAuth 2.0 in an ASP.NET MVC App, and I'm stuck on the second step - the call to https://api.fitbit.com/oauth2/token gives me an 401 Unauthorized error.  First I call the https://api.fitbit.com/oauth2/authorize?.... with all pa...