09-19-2014 12:03
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-19-2014 12:03
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.
Answered! Go to the Best Answer.

Accepted Solutions
09-19-2014 12:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
09-19-2014 12:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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)

09-19-2014 12:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
09-19-2014 12:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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)

11-27-2014 07:06 - edited 11-27-2014 07:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-27-2014 07:06 - edited 11-27-2014 07:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@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

11-27-2014 09:01
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


11-27-2014 09:01
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
Senior Software Developer at Fitbit

11-28-2014 04:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-28-2014 04:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@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

11-28-2014 09:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


11-28-2014 09:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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/...
Senior Software Developer at Fitbit

08-02-2017 00:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-02-2017 00:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
What should I put for application website because I don't have one and don't know what to do about it

