Skip to content

Conversation

@AlexGhiondea
Copy link
Contributor

The sample handles the authorization to FitBit and downloads the weight for
the current day.

Once the app is authorized, the token data is stored locally to avoid having to
re-authenticate every time. For brevity, the token is stored in plain text.

In order for the authorization to work it requires the app to be launched as
admin. That is required in order for the app to be able to listen to the
callback at 'http://localhost'. The app automatically handles this case.

@AlexGhiondea
Copy link
Contributor Author

/cc @aarondcoleman @WestDiscGolf

@AlexGhiondea AlexGhiondea changed the title Add a sample for how to use the FitBit client from a console app. Add a sample for how to connect to FitBit from a console app. Jul 18, 2017
The sample handles the authorization to FitBit and downloads the weight for
the current day.

Once the app is authorized, the token data is stored locally to avoid having to
re-authenticate every time. For brevity, the token is stored in plain text.

In order for the authorization to work it requires the app to be launched as
admin. That is required in order for the app to be able to listen to the
callback at 'http://localhost'. The app automatically handles this case.
@WestDiscGolf
Copy link
Contributor

That's pretty cool! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants