Search code examples
iosxcodeswiftfitbit

Setting up Fitbit api in xcode Swift


I am trying to setup the Fitbit api from dev.fitbit.com The first part is to register an application and I am stuck in this part already:

enter image description here

For example: I have no clue what I have to fill in for the callback url. (I have never done that before using an api) Also the access type or the application type is for me very confusing.

the callback url:

enter image description here

I would really appreciate any help with setting up this api in xcode in the language Swift.

Thanks.

Kevin.


Solution

  • It may be helpful for you-

    enter image description here

    You can use callback url as https://www.google.com/ for testing purpose. If you are designing app for a particular Organisation than put that organisation url - Example- http://www.fortishealthcare.com