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
0
votes
3 answers

Fitbit get distance data in miles not kilometers

I have a sample project that gets data from Fitbit but the information comes in metric system not imperial system. Here is the code that pulls a list of Dates and Strings pair using TimeSeriesDataList class, but in kilometers not miles. How can I…
Lukas
  • 2,885
  • 2
  • 29
  • 31
0
votes
2 answers

Unrecognized temporary token when attempting to complete authorization: FITBIT4J

I am trying to create a app for fitbit using fitbit4j . I found their sample code at https://github.com/apakulov/fitbit4j/blob/master/fitbit4j-example-client/src/main/java/com/fitbit/web/FitbitApiAuthExampleServlet.java When i tried to implement…
hybrid
  • 1,255
  • 2
  • 17
  • 42
0
votes
1 answer

Oauth.io Fitbit request not working after relaunching app

I am able to request Fitbit data using Oauth.io service but only as long as the app is running. Once the app relaunches the request call no longer works. Does the Fitbit token and secret need to be saved and retrieved after the app is launched ?…
Joe
  • 21
  • 3
0
votes
2 answers

Fitbit Java Https support

Does Fitbit for Java actually support https yet? Previously, the code worked. Now the code returns an error requesting that I use HTTPS. {"errors":[{"errorType":"request","fieldName":"n/a","message":"This request should use https…
pierego
  • 31
  • 2
0
votes
1 answer

Using OAuth.io iOS library to log into FitBit snag

following OAuth.io simple two lines OAuthIOModal *oauthioModal = [[OAuthIOModal alloc] initWithKey:PublicKey delegate:self]; [oauthioModal showWithProvider:@"fitbit"]; throws up the web view, with the proper FitBit page. YAY I fill in the email &…
Roy Lovejoy
  • 141
  • 6
0
votes
1 answer

Fitbit oauth registration

My app links to the FitBit API. The users (via my portal) give my app access permission via FitBit's OAUTH API to grab data for the users. All works fine EXCEPT many of my users use a shared computer. FitBit is remembering credentials from the…
Don Dickinson
  • 6,200
  • 3
  • 35
  • 30
0
votes
1 answer

How is the Fitbit OAuth authorization remembered/saved in this code?

I found this code that syncs Fitbit data to a Google spreadsheet. I would like to adapt it a bit, but i am stuck trying to figure out how the authorization is saved. I think my confusion is a result of a lack of understanding how OAuth works. Here…
shim
  • 9,289
  • 12
  • 69
  • 108
0
votes
1 answer

fitbit Oauth ssl connection error

I've moved my server with another provider, my app was working without issue until I made the migration, now everytime I try to connect with fitbit I get this error: Fatal error: Uncaught exception 'OAuthException' with message 'making the request…
Karlovalentin
  • 321
  • 1
  • 3
  • 14
0
votes
1 answer

communication between android phone and Fitbit devices

How Connection between Android Phone and FitBit devices is performed?? I know they are using BLE,In this case how BLE is working?? Is there any documents which clear the concept of FitBit working? Please Help.thanx
Sandeep
  • 197
  • 1
  • 8
0
votes
2 answers

Fitbit API issues using PHP

Brand new to the Fitbit API but this is what I've got so far. I've successfully installed OAuth on my server and verified. I downloaded Fitbit's PHP example - completeAuthorization.php however after browsing to it on my server and clicking "Allow"…
sparecycle
  • 2,038
  • 5
  • 31
  • 58
0
votes
1 answer

Omniauth.rb Fitbit expecting keyword_end

I'm trying to set up omniauth with the fitbit api. I created a file in config/initializers/omniauth.rb: Rails.application.config.middleware.use OmniAuth::Builder do provider :fitbit, b4aaad9b1 , 88bd74511f #NOT THE ACTUAL KEYS - I deleted…
Marcus
  • 9,032
  • 11
  • 45
  • 84
0
votes
1 answer

OAuth 1.0b receiving access token

Until few days ago everything worked fine. But after some changes on FitBit new user can not get OAuth handshake anymore. The problem is when I receive temporary tokens and make call to finish handshake and receive credentials. So in first step I…
M.V.
  • 1,662
  • 8
  • 32
  • 55
0
votes
1 answer

OAuth 1.0a Implementation with PHP Pecl - Custom Signature (Fitbit)

I had an implementation of OAuth working with Fitbit to pull data from fitbit's service. However they recently updated their service and now the request is failing whenever I try to get an access token. They have made the following statement about…
Danoweb
  • 208
  • 1
  • 2
  • 9
0
votes
1 answer

Establish connection with Scribe and SharedPreferences

When I connect directly after logging in everything works great. Then I store to SharedPreferences values request (first token to access login site - although I know it is not needed...), pin (pin also not needed), access_token and access_secret...…
M.V.
  • 1,662
  • 8
  • 32
  • 55
0
votes
1 answer

How do I initialize the fitbit Fitgem client in config/initializers?

For convention reasons I would like to initialize the Fitgem client in config/initializers/fitgem.rb. When I say initialize I mean pass in my app's consumer token and consumer secret like so: Fitgem.configure do |config| config.consumer_key …
BigRon
  • 3,182
  • 3
  • 22
  • 47
1 2 3
16
17