Vote count:
0
My callback registered with Withings notify API doesn't appear to get called after I record my weight.
As a user, I have:
- Created a Withings user account.
- Associated a Withings scale with my Android tablet and user account.
- Configured the scale's Wifi.
Programmatically, I have:
- Registered an application with Withings and received the OAuth consumer key and secret
- Authorized my application to access my Withings user account
- Successfully called the notify/subscribe action for my user with a callback url
- I did not specify the optional "appli" parameter when subscribing. The API documentation claims that "Bodyscale" is the default. (I plan on trying explicitly setting this parameter to see if that helps; never know.)
After all this setup, I stepped on the scale and it recorded my weight. After a few moments and a refresh of the Withings Android application on my tablet, I can see the newly recorded weight value. The new weight value that was recorded also shows in Withings web UI. However, my application's programmatic callback never executes.
Has anyone worked with this API and can provide some insight and/or suggestions?
Does anyone have any advice as to the best way to go about troubleshooting this? Similar APIs I've worked with in the past, such as Twilio, provided an error console or some other means of diagnosing communication issues, but Withings does not appear to have a similar component.
Thanks.
Aucun commentaire:
Enregistrer un commentaire