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
4
votes
1 answer

How to get CFBundleURLSchemes of an app in iOS Swift

I have made a demo project App1 in which I added a button which will redirect me to the installed app suppose App2("fitbit") I have gone through many tutorials and basically got the idea how to do this through the 2nd answer "This app is not allowed…
Harshit Goel
  • 679
  • 1
  • 6
  • 20
4
votes
3 answers

Chrome CustomTab error: java.lang.NoSuchMethodError: No static method startActivity

I am trying to connect fitbit with my app using chrome custom tabs. But I am getting following error. java.lang.NoSuchMethodError: No static method startActivity(Landroid/app/Activity;Landroid/content/Intent;Landroid/os/Bundle;)V in class…
4
votes
0 answers

OAUTH redirect URI can't figure out how to use in Android Mobile App

I'm writing an Android app that integrates with Fitbit and Jawbone. I've already completed the Jawbone integration. Jawbone uses OAUTH2 and they provide a default redirect URI of http://localhost/helloup? This is probably me not fully understanding…
tronious
  • 1,547
  • 2
  • 28
  • 45
4
votes
1 answer

Fitbit and OAuth 2.0

I'm trying to add fitbit integration into an iOS app. I'm surprised to find how difficult this is... I imagined there would be an iOS SDK. In any case, I'm trying to pull the data via the web-based API. It uses OAuth 1 & 2. I've tried both, but…
Buyin Brian
  • 2,781
  • 2
  • 28
  • 48
4
votes
0 answers

Fitbit API :: Transfer heart rate data of user from fit bit supported device in to own Android application

Any one worked on Fitbit API integration before then please give me your suggestion. I already go through documentation of Fitbit API for Android but can not get any proper way for starting . For this, I successfully login into Fitbit account with…
Radhey
  • 2,139
  • 2
  • 24
  • 42
3
votes
2 answers

Setting up Fitbit api in xcode Swift

I am trying to setup the Fitbit api from dev.fitbit.com The first part is to register an application and I am stuck in this part already: For example: I have no clue what I have to fill in for the callback url. (I have never done that before using…
user5000215
3
votes
1 answer

Fitbit API response handling in PHP

I am using a PHP library (https://github.com/djchen/oauth2-fitbit) to retreive a users Fitbit data via Oauth2. I am getting the data correctly but I am not sure how to grab a specific item from the multidimensional array response. I am using code…
drew
  • 105
  • 10
3
votes
1 answer

How to call an OAuth 2.0 API from iOS

I am working on Fitbit integration. How can I make request and authorize its OAuth 2.0 API. I checked ASIHTTPRequest but it is not available on ARC. Can I do it with AFNetworking ? I am using Objective-C.
Suyash
  • 365
  • 5
  • 18
3
votes
2 answers

Android application integration with Fitbit ( Fitbit Tracker )

I have an Android Application and I want to integrate my android application with Fitbit Tracker(fitbit). And I want to count the number of steps moved by the user by using that Fitbit Tracker and want back the number of step taken by the…
Naveen Kumar Mishra
  • 321
  • 1
  • 3
  • 16
3
votes
2 answers

ROAuth R and FitBit API Error: No Authorization header provided

Using R and the ROAuth package by Jeff Gentry to try and pull data off of fitbit and the Authentication doesn't seem to work. Code as follows: apiURL = 'api.fitbit.com/' credentials = OAuthFactory$new(consumerKey=key, …
2
votes
1 answer

Fitbit OAuth2.0 redirect_uri and react native

I am running into an issue between react native and the endpoint I have setup for the redirect_uri. For the process flow, currently the user is taken from the app to the browser where the fitbit authorization page appears. So far so good. The…
user1790300
  • 2,143
  • 10
  • 54
  • 123
2
votes
0 answers

OAuthSwift: How do I set the token expiration date for OAuth 2.0 with Implicit Grant Flow?

I am using the Fitbit API to authorize my app and it is working fine however in the OAuthSwift documentation I don't see a way to set the expiration date of the generated token even tho the Fitbit API has a method to do so and the Implicit Grant…
Hols
  • 361
  • 1
  • 5
  • 21
2
votes
1 answer

Using react-native-app-auth plugin with Fitbit OAuth 2.0

I am working on a mobile app I am trying to integrate with Fitbit. In the documentation, I noticed that Fitbit OAuth 2.0 requires a browser window be opened for the authentication process or else an app would be banned from Fitbit. After reviewing…
user1790300
  • 2,143
  • 10
  • 54
  • 123
2
votes
2 answers

Condense an if statement to find what range a value fits in

So I'm trying to make a compass app for the Fitbit Ionic, it works but this piece of code makes me angry. I know there's a way to condense it but I can't figure out how. It is supposed to take an integer and tell me what is the corresponding…
2
votes
1 answer

"errorType":"invalid_client","message":"Invalid authorization header format

I am trying to get user details from fitbit database using api. I am not sure what should be my access_token. I have tried to set fitbit secret key as access_token but it gives the same error. Thanks in advance. function generateRandomString($length…
PRADEEP PANDEY
  • 344
  • 2
  • 15
1
2
3
16 17