Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can you register a FitBit app via an API

ANSWERED

I have a website that runs events. We have a FitBit applcation with a call back url. 

Each of our events has a separate URL under the main website url, and would require a separate call back url in the app.

When doing Oauth I notice that if I don't send the callback registered with my application - (if I try to send one for different events) it fails.

the urls would look like this

www.mySite.com/myevent1/returnpage

www.mySite.com/myevent2/returnpage

etc.

Is it possible to either 

1. Register new apps in fitbit as events get created on our site via an api rather than manually

2. Add a placeholder in a url that the Fitbit api understand may contain different values

 

Thanks

Mark

 

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hi Mark,

 

Neither of the two options that you mention are supported.

Here, is what you can do:

- Register your application with multiple callback urls, each url on a new line 

e.g.

multipleCallbackUrls.png

- Pass the appropriate callback url in the 'redirect_uri' param when making authorization requests

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

Hi Mark,

 

Neither of the two options that you mention are supported.

Here, is what you can do:

- Register your application with multiple callback urls, each url on a new line 

e.g.

multipleCallbackUrls.png

- Pass the appropriate callback url in the 'redirect_uri' param when making authorization requests

Best Answer
0 Votes