/sdk-oauth

Fitbit SDK example application.

Primary LanguageJavaScriptMIT LicenseMIT

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:
  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.