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

Register for api key w/o having Organization or Organization Website?

ANSWERED

We are a group of ~10 fitbit users. We have a friendly competition that runs biweekly.

 

Currently we compare our steps weekly, (every Sunday 11:59 PM). The problem is sometimes a few of us have not synced our fitbits till Sunday midnight and we lose competition without really losing it.

 

We decided to write an android app for us which would show us the comparison chart for a week by pulling the data for a given week or fortnight. This will eliminate the necessity for everyone to sync data before the cut-off time.

 

I found that we cannot get an API key without having an organization or a web page. Is it possible to get an API Key without having a web-page registered?

 

Thanks in advance.

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

You can put yourself as the Organization and a placeholder is fine for the URL (or any personal web page or social media profile url)

View best answer in original post

Best Answer
0 Votes
6 REPLIES 6

You can put yourself as the Organization and a placeholder is fine for the URL (or any personal web page or social media profile url)

Best Answer
0 Votes

@DChen wrote:

You can put yourself as the Organization and a placeholder is fine for the URL (or any personal web page or social media profile url)



@SunsetRunner what is the callback url? How can I get api key and secret key

Best Answer
0 Votes

On dev.fitbit.com just enter any random website and callbackurl. For example http://localhost should work for both values.

 

Make sure that you select [Application Type] = desktop

Ivan Bahdanau
Senior Software Developer at Fitbit
Best Answer
0 Votes

@ibahdanau Thanks for your reply. I've Register an app successfully. I mention you that I've trying to implement fitbit api in android, so my question is What is the type of application I've choose? is it Desktop or Browser? I've choosed Desktop but its show en error like "{"errors":[{"errorType":"request","fieldName":"n/a","message":"This request should use https protocol."}],"success":false}'" . Another question is that what is Endpoint URL?. I've seen some of source from online and I see they used timestamp, signature key, I've register app but I've got only secret key and api key. so my question is how can I got timestamp and signature key? or is it necessary?  could you please give me an sample(Fitbit api implement in android) it's better for me or give me a documentation  link so that I've successfully implement fitbit api in android and get/set user data

 

Thanks in advanced

 

Best Answer
0 Votes

Hello

"This request should use https protocol." means only one thing: you're not using https protocol when you making requests. There is no other possible reason can generate such response. So please debug your code and make sure you're using https.

 

If you'd had webapplication the endpoint URL is the URL that you may use for subscriptions API, please check out https://wiki.fitbit.com/display/API/Fitbit+Subscriptions+API for more information.

There is big change that you don't need to use subscription API at very beginning. If this is the case feel free to remove it completely . You'll be always able to add it back later.

 

For oauth 1.0a flow please check out this page: https://community.fitbit.com/t5/Web-API/How-to-properly-sign-API-request-and-set-up-OAuth-1-0a-flow/...

 

 

Ivan Bahdanau
Senior Software Developer at Fitbit
Best Answer
0 Votes

What should I put for application website because I don't have one and don't know what to do about it

Best Answer
0 Votes