sdk-oauth icon indicating copy to clipboard operation
sdk-oauth copied to clipboard

Fitbit SDK example application.

sdk-oauth

A sample application which uses the Settings API OAuth component, and the Fitbit Web API to query sleep data.

Usage

  1. You must first register a Web Application on dev.fitbit.com to get an OAuth ID and secret. Configure the application as:
  • OAuth 2.0 Application Type: Server
  • Callback URL: https://app-settings.fitbitdevelopercontent.com/simple-redirect.html
  1. Enter your OAuth 2.0 Client ID and Client Secret into settings/index.jsx

  2. After installing the project from Fitbit Studio, you need to login to the Fitbit Web API using the settings page within the Fitbit mobile application.

    Fitbit mobile app > Ionic > Developer menu > your app > Settings

Read more in the Reference documentation.