Forum Posts

OAuth 2.0, Authentication Methods and mobile apps

Hello everyone, it's my first post here. Please be gentle. Had some time laid up due to ill health and been planning a mobile App to gamify/incentivize some Fitbit data (I do love my Surge). Been reading through the forums and the documentation, have...

AndyA by Jogger
  • 1395 Views
  • 1 replies
  • 0 votes

Resolved! Invalid authorization header format

I can't get past this error.  I have checked all the docs and the code looks fine. The error I'm getting is {"errors":[{"errorType":"invalid_client","message":"Invalid authorization header format. Visit https://dev.fitbit.com/docs/oauth2 for more inf...

oalders by Jogger
  • 25655 Views
  • 7 replies
  • 2 votes

Resolved! OAuth 2.0 Access Token Request problem

Hi, I follow the instruction at https://dev.fitbit.com/docs/oauth2/ and the document said: "The Authorization header should be set to Basic followed by a space and a Base64 encoded string of your application's client id and secret concatenated with a...

HungN by Jogger
  • 5022 Views
  • 12 replies
  • 0 votes

Curl and Implicit Grand Flow access_token OAuth2

Hello everyone, is it possible to get the access_token with Implicit Grant Flow with curl ??? curl -X POST -i -H 'Authorization: Basic XXXX'-H 'Content-Type: application/x-www-form-urlencoded'-d "response_type=token" -d "client_id=XXXX"-d "grant_type...

Post activity using python-fitbit

 Hi,I start playing with fitbit api using python-fitbit, myGET request have a valid response from the server however I can't send POST requests specialy for activity log (POST https://api.fitbit.com/1/user/-/activities.json). I get always: fitbit.exc...

Intraday Heart Rate Sync

Hello,I am making an android app for a uni project and I need the heart rate details from fitbit.Ideally I would need real/time heart rate data but I understand this is not possible (is this still the case?), so I'll need to work with the sync every ...

SaraBat by Jogger
  • 872 Views
  • 1 replies
  • 0 votes

Import CSV Aria Data

Hi, I’d like to add a few years of old manually saved weight entries to my existing Aria data. I can do this manually using the API Explorer, eg https://api.fitbit.com/1/user/-/body/log/weight.xml?weight=150&time=12%3A20%3A00&date=2002-05-01 Put this...

magus by Jogger
  • 733 Views
  • 0 replies
  • 0 votes

Resolved! Missing 'grant_type' parameter value

I'm passing a grant_type parameter with my POST, but the API is telling me otherwise.  Can someone let me know where I'm going wrong? -- Blocking request (https://api.fitbit.com/oauth2/token) -- Connect d2e3aa20f16f08e813ae93fbf391162a (https://api.f...

oalders by Jogger
  • 11051 Views
  • 2 replies
  • 0 votes

FitBit Device SDK

Hello, I am new to this forum and a have been looking around to see if there is a C/C++ or Python device SDK that I can download and develop a feature for the FitBit device?  This is something that I would do on my own time but gladly share it back t...

Excessive activity notifications

We have hundreds of Fitbit users accessing our services, and mostly things run very smoothly. But the past couple of weeks, we've been getting occasional floods of subscription notifications to our subscriber endpoints. One such example on March 28: ...

blakjakau by Recovery Runner
  • 716 Views
  • 1 replies
  • 2 votes

Request Timeouts - anyone else?

We are seeing a number of request timeouts during API interactions from our website(s). These timeouts first started occuring on March 18th 2016. We have seen these timeouts against multiple API endpoints includingToken Refresh requestsRequest token ...

blakjakau by Recovery Runner
  • 678 Views
  • 2 replies
  • 0 votes

Resolved! Non-expiring OAuth 2.0 tokens?

I'm trying to develop a Python script that pulls my data down periodically (daily) for offline analysis, and discovered that the OAuth 2.0 refresh_token is usable only once. Since I'm only making API calls once a day, my access_token will always be e...

jwbernin by Recovery Runner
  • 1475 Views
  • 5 replies
  • 0 votes

Are certificates from LetsEncrypt supported?

I was trying to verify a subscriber and I'm not seeing the traffic from Fitbit make it to my server so I was wondering if Let's Encrypt certificates were supported. Quick edit: I'm not seeing the traffic make it to the application server.

josch by Jogger
  • 641 Views
  • 0 replies
  • 0 votes

Continuous Heart Rate

I would like to display continues heartbeat measurment on my PC for the Charge HR   I tried two paths :   1. using the developer api which return heartbit readings but are limited for requests per hour 2. using direct bluetooth connection fron fitbit...

Ilan by Jogger
  • 852 Views
  • 3 replies
  • 1 votes

Data for beginner

I am a complete noob when it comes to data in systems like this I have a project for college where I need to acquire information that the watch is collecting and at this point I am completely lost as to how to get the data. Any chance there is a defi...

Resolved! I can't parse callback URL from OAuth

Hi, I am new to this Fitbit API and not very good at JS/HTML DOM. I am making a test program (will be open source) that can read from a person's activity log's steps, calories, distance, and stairs. What I need to do is allow the user to copy their a...

ChromeOS support

Hi All,  Does anybody know if Fitbit are planning a ChromeOS app that would support the bluetooth dongle? or even intergrated ChromeOS device bluetooth? I use my USB dongle on my Ubuntu machine and use the integrated bluetooth on my Android phone usi...

AndrewJB by Recovery Runner
  • 777 Views
  • 1 replies
  • 0 votes

Cannot authenticate user

I am having a bit of trouble authenticating my users. I post here to request the tokens. POST /oauth/request_token oauth_token and oauth_verifier are returned.  I pass these to the next function that returns profile XML. But then when I try and call ...

Resolved! Alarm Application

I got a Fitbit for christmas and I think it is a very interesting device and have already run into a use case that I would like to try and incorporate the Fitbit API.  So after reading the Terms of Service I'm not to sure what I would like to do woul...

diginet by Jogger
  • 882 Views
  • 1 replies
  • 0 votes

Resolved! How can I get added to the App Gallery?

The Fitbit App Gallery is by invitation only. Things taken into consideration:General appeal to the millions of Fitbit customersAlignment with Fitbit's mission of a happier, healthier worldUnique and notable addition of valueHigh quality user experie...