Zum Hauptinhalt springen

Documentation

IMPORTANT

This is the outdated SI-documentation which will be adapted soon. A huge part may be obsolete!

Steps

The Steps app allows a user to record their daily steps on their site. This app also allows users to link to their favourite FitBit device to synchronize their steps.

  • This is a Paid app and it needs to be purchased before you are able to access the downloads.

Steps App


Integrating with FitBit

FitBit uses oauth for authentication and in order to integrate with FitBit, you will first need to create an app on FitBit's Developer Portal.

  1. Head over to https://dev.fitbit.com/apps

  2. Click on the Register a new app link

    Steps App

  3. Enter the details shown on this screen.

    • Application Name - This can be any name that you want to give to the app.

    • Description - You should describe what does your site do.

    • Application Website - You should enter the absolute URL to your site.
      E.g: https://site.com

    • Terms of Service Url - You should enter the url to the terms of service page on your site.
      E.g: https://site.com/terms

    • Privacy Policy Url - You should enter the url to the privacy and policy page on your site.
      E.g: https://creative-graphics.ch/privacy

    • OAuth 2.0 Application Type - Pick Server

    • Callback Url - Copy the url in the application settings and paste it here.

      Copy Callback Url

    • Default Access Type - Pick Read & Write

  4. Save the app.

  5. Copy the Client ID and Client Secret as shown below:

    Copy Client ID

  6. Enter the copied Client ID and Client Secret into the App Settings:

    Copy Client ID

  7. Save the App and you are good to go.


Displaying Widget

The app also displays a widget that shows the average steps of a user on their profile cover as you can see from the screen below:

Widget

This widget can be configured from the Application settings under the Widgets tab as you can see from the screen below:

Widget Settings

Wir benutzen Cookies
Wir nutzen Cookies auf unserer Website. Einige von ihnen sind essenziell für den Betrieb der Seite, während andere uns helfen, diese Website und die Nutzererfahrung zu verbessern. Du kannst selbst enscheiden, ob du Cookies zulassen möchtest. Bitte beachte, dass bei Ablehnung womöglich nicht mehr alle Funktionalitäten zur Verfügung stehen.