Questions tagged [withings]

Withings is a company that makes hardware and software to track body metrics and health statistics. The Withings API allows developers to access a user’s stored data.

API Documentation and access registration is located at the Withings Developer Center.

47 questions
6
votes
2 answers

How to setup a callback URL for an android application to receive POST requests from an API?

I would like to integrate a Withings smart scale into an Android app I am developing. I am following the getting started instructions in the withings developer documentation here. For this I need to register my app here and it requires a "Callback…
Matti Granovsky
  • 445
  • 1
  • 7
  • 11
5
votes
3 answers

Implementing OAuth 1.0 in an iOS app (Withings api)

I'm developing an iOS app with Withings api. I've been trying to implement OAuth 1.0 in an iOS app but I couldn't. I saw Implementing OAuth 1.0 in an iOS app page. And at the second answer he suggested TDOAuth https://github.com/tweetdeck/TDOAuth. I…
3
votes
2 answers

Withings API: The callback URL is either unknown or invalid

I'm trying to set a notification in the withings API (with the withings-simplificator gem). I always get this error, no matter what URL I enter or if I encode it or not: irb(main):013:0> user.subscribe_notification('http://foo.bar.com', 'test…
jlxq0
  • 87
  • 1
  • 8
3
votes
2 answers

Notification operation always returning statusc code 293 : The callback URL is either absent or incorrect

I am using Withings API. Everything works fine. Then i tried with Notification API and able to successfully subscribe to the notification and can get, list and revoke notification also. With the same source code, after 1 day, Notification API…
Rezoan
  • 1,745
  • 22
  • 51
3
votes
3 answers

Withings API is not working with node-oauth

I'm attempting to authenticate requests to the Withings API using node-oauth, a widely used OAuth module for Node. All of the initials steps of the OAuth process are working, and I'm able to acquire the user ID, access token, and access token…
David Jones
  • 10,117
  • 28
  • 91
  • 139
3
votes
1 answer

Withings API - accessing protected resources

I'm writing an iOS app that pulls Withings data and am using code from simple-oauth1 (which I previously used successfully to talk to the Fitbit API). I successfully obtained a request token, authenticated it, and then obtained an access token. Then…
Free Mason
  • 107
  • 5
2
votes
0 answers

In R, can I get a redirect URL be returned from a httr:BROWSE statement?

At first, I am not the best programmer, so please excuse me if I ask something stupid. I have a question about the following code (in language R) which I have written in order to get an authentication code for the Withings…
Stephaela
  • 21
  • 2
2
votes
0 answers

Withings API disconnect/revoke token

I'm getting Withings data into my android app, and I want that when the user clicks on a disconnect button the Withings account gets disconnected. But there is no URL to call to disconnect or revoke token in Withings API. So now the user stays…
DojaB
  • 61
  • 3
2
votes
1 answer

serializeUser and deserializeUser not called; req.user always empty in PassportJS Express app

So I have a small app based on the generator-angular-fullstack. I want to add to the current logged user the credential for a new account (Withings). The idea is that a user that is logged in can also add other way to make the login by using…
user4351649
2
votes
2 answers

Withings API No Response on request_token

I have setup everything as described in the steps in answer to the post withings api authentication. However, when i copy and paste the final URL generated in Step 2 (Send request to the URL:), I get no response on my browser and the screen remains…
2
votes
1 answer

Getting started with Withings API

How i connect to my website and withing api.I send weight value to withing api and get body measurement value.And where i will get withing api code. $config['withings_settings']['widgets'] = 'TRUE'; $config['withings_settings']['enabled'] =…
Deenadhayalan Manoharan
  • 5,436
  • 14
  • 30
  • 50
2
votes
1 answer

Withings API not redirecting to my callback url (PHP / OAuth)

I'm following the guide provided here in order to get permanent access to a Withings account via the OAuth protocol. Everything works perfectly until the last part of the second step: Authorize this token : ... Then the User allows by clicking…
JRam13
  • 1,132
  • 1
  • 15
  • 25
1
vote
1 answer

How to fix that Withings developer API refresh token gets expired within 4 Hours?

I have implemented an Java interface for OAuth2 of the Withings API (http://developer.withings.com/oauth2/). Initially, there will be processed the Authorization Token (http://developer.withings.com/oauth2/img/OauthDiagram.jpg) that will be sent…
vielfarbig
  • 121
  • 1
  • 7
1
vote
0 answers

Withings API subscription always returns 293

I'm trying to set up a subscription on the Withings API. (all other calls to the API are authenticated and produce valid returns). The subscription always returns "293 - the callback URL is either absent or incorrect. I've searched existing…
firehole
  • 11
  • 1
1
vote
2 answers

PhP - Withings Authentication Implementation

I'm making a web-application which run under Laravel 5, and I need to incorporate Withings user's Datas. I read the API's doc, but I don't understand it very well. What are the authentication steps, and the order? Have you any example in aim to…
1
2 3 4