-
Notifications
You must be signed in to change notification settings - Fork 22
Description
This example is a good start, but it's missing a few, IMO, crucial things.
-
The access token that comes from the OAuth request in the settings page eventually expires, forcing the user to have to re-auth in the settings. This is not ideal. I know there's a concept of a refresh token and it'd be awesome to get an example of that!
-
(lower pri) an example POST request to the fitbit's API. I learned after a whole lot of digging that the POST body data is passed in as query params instead of in a JSON body. That wasn't really exactly clear in the docs and this didn't have an example of POSTing so I was kind of left in the dark until I found the swagger spec.
I'm trying to submit an app for the challenge deadline on Friday and would love to have #1 in my app!