Application Name : --
Description : --
Application Website : --
Organization : --
Organization Website : --
OAuth 2.0 Application Type : **Personal**
Callback URL : http://localhost:8080/
Default Access Type : Read-Only
Note :
1. Use your own information for fields marked --
2. Make sure you copy the Callback URL exactly (including the last /)
3. Application Type MUST be Personal
Hit save and make a note of OAuth 2.0 Client ID and Client Secret
Navigate to auth folder cd /auth
run python3 auth_fitbit.py -i <client-id> -s <client-secret>
This opens a popup in the browser. Authenticate and done!
Add above line to your cron tab: crontab -e in Linux. Sync logs will be stored to cron.log in repository.
Headless authentication
If you want to do the authentication process on a system without a display - such as a raspberry pi or a remote server, pass --console or -c option to the authentication scripts. See below examples.
请发表评论