Questions tagged [fitbit]

The Fitbit API allows developers to interact with Fitbit data in their own applications, products and services.

The Fitbit API allows developers to interact with Fitbit data in their own applications, products and services.

249 questions
2
votes
3 answers

Fitness tracker with API for live hand movements

I'm trying to develop an app for a fitness tracker(can be any), which has an API to track the live hand movements (For every couple of seconds). To be specific, trying to find aggressive hand movements to track users who need help (like seizures,…
Anand
  • 9,672
  • 4
  • 55
  • 75
2
votes
0 answers

Getting red framework in swift, and error "No such module 'AlamoFire'"

SOLVED: See bottom of post I'm trying to practice with OAuth 2.0 and Swift, with the end goal of achieving an app that can get stats from Fitbit API. I've found a lot of outdated tutorials (that don't use OAuth 2.0), but I did manage to find this…
Max
  • 21
  • 4
2
votes
0 answers

Angular2, Auth0 connecting to Fitbit API, JWT needs 3 parts

I am currently working with Angular2, I am trying to connect to the fitbit API with auth0. I am using Angular2-JWT and the Lock.js provided with Auth0. So far the login and reading out the simple profile data works flawlessly using Lock.js generated…
2
votes
1 answer

iOS fitbit logout

By using the Fitbit documentation from here. I have succeeded upon the Fitbit authentication in my app with token expire time expires_in=604800. I got stuck by how to logout from the logged in account. Is there any Fitbit endpoint to do that or…
Vishnuvardhan
  • 5,081
  • 1
  • 17
  • 33
2
votes
0 answers

Fitbit OAuth2.0 Token-request (Swift 3)

I am currently trying to authorize my users with OAuth2.0. I am currently using the following library: https://github.com/p2/OAuth2. Here is my Code: let oauth2 = OAuth2CodeGrant(settings: [ "client_id": "******", //ID from Fitbit …
Moo123
  • 21
  • 5
2
votes
2 answers

Fitbit "Get Daily Activity Summary" API call gets empty "activities" array

In my application I'm making API calls to fetch Fitbit data of a user,when I make an API call to "Get Daily Activity Summary" I get empty activities array. I'm getting everything from this API call just activities array is coming out as empty[].…
NewbieCoder
  • 377
  • 3
  • 16
2
votes
1 answer

Fitbit API unable to fetch data synced through Fitbit device i.e Blaze

I am trying to fetch data using the following link:- https://dev.fitbit.com/docs/activity/ and API :- GET https://api.fitbit.com/1/user/[user-id]/activities/date/[date].json and getting response array as below Array( [result] => Array ( …
Ishika
  • 2,187
  • 1
  • 17
  • 30
2
votes
1 answer

FitBit integration,after allowing permission safari is not redirecting to app

I'm new to iOS development. I'm trying to integrate Fitbit in my app. I followed get authorization from Fitbit using Oauth in iOS and FitBit documentation. I used following code - (IBAction)fitbitLogin:(id)sender { [[UIApplication…
e.k
  • 1,333
  • 1
  • 17
  • 36
2
votes
1 answer

How to start iOS application from safari browser after fitbit login

After finishing the fitbit login, I want to go back to my application, but I get an alert: Cannot open application I added the url scheme to the info.plist. this is info.plist details: CFBundleTypeRole
2
votes
1 answer

Refresh Access Token Python-Fitbit (Orcasgit)

I can't figure out how to refresh my access token using this: https://github.com/orcasgit/python-fitbit I've been able to get my Access Token, and Refresh Token. I've also been able to pull data from fitbit. But after my Access Token Expires I'm…
Steven
  • 41
  • 1
  • 4
2
votes
0 answers

Not able to get the call back notifications for a new oAuth2.0 user from Fitbit

As part of Fitbit Oauth2.0 migration, we have changed our java code according to support Oauth2. We are able to connect the device and able to get the access token and refresh token. And also we have saved the new refresh token to get the new access…
Ashok
  • 21
  • 2
2
votes
0 answers

Sending notifications to Bluetooth devices (such as Fitbit)

The device in question (Fitbit Surge) currently has no public BLE API exposed, so there is no documented way of interacting with it. It does however support displaying some mobile device notifications (only incoming calls and text messages AFAIK).…
Pin Doll
  • 21
  • 4
2
votes
2 answers

401 Unauthorized when using the generic OAuth Middleware with ASP.NET 5

I am trying to hook up a website that I am building to FitBit using ASP.NET 5 (rc1-final), Identity and the MS.AspNet.Authentication.OAuth middleware. I am intending to use the Authorization Grant Flow for OAuth 2.0. I have the app set up (details…
Justin Blakley
  • 458
  • 4
  • 16
2
votes
0 answers

Fitbit Authentication using UIWebview iOS

I'm trying to connect to Fitbit on my iOS native app. I'm using a uiwebview to display to login and authorization screen. If the user login using his/her Fitbit credentials it works fine, but if they try to login using Google or Facebook I'm having…
tom3322
  • 133
  • 2
  • 2
  • 8
2
votes
1 answer

FitBit OAuth 2.0 Access_token resulting missing grant_type parameter value

I Successfully Implemented the authorization step and i got the code value with redirect_uri. and while Implementing FitBit OAuth AccessToken Request (https://wiki.fitbit.com/display/API/OAuth+2.0) i am getting the following error: WARN :…
1 2
3
16 17