12-11-2017 04:04
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

12-11-2017 04:04
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I have register an app and get the client id and client secret key, and passing these things in to this url (https://www.fitbit.com/oauth2/authorize?response_type=code&client_id=dummyid&redirect_uri=http%3A%2F...) and redircted to particular redirected url which i registered in app (http://closerlooksearch.com/Apportis/profile/fitbit.php?code=73a7666d509e302fdb155828f207e0ea8673177...) it's shows blank page what should i do after that how can i get the user datas json.Can anyone help to come out of this?
12-11-2017 09:48 - edited 12-11-2017 09:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



12-11-2017 09:48 - edited 12-11-2017 09:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
@closerlook please check out this post: https://community.fitbit.com/t5/Web-API-Development/Make-your-OAuth2-0-request-in-less-than-1-minute... it has a link to tutorial page that will help you to understand how to make API requests.
01-25-2018 02:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-25-2018 02:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi,
Thank you for your response.I have integrated the json with my application and get data.I have one more question, I have a list of users for my web application I have created a page to get the user Fitbit client id and integrate the Fitbit data, what should my user do for getting their client id? Is every user should go (https://dev.fitbit.com) here and register an app to get their client id, or there is any other way to simplify it?

01-25-2018 08:34
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



01-25-2018 08:34
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
@closerlook you only need to create application once at dev.fitbit.com
This application that you register at dev.fitbit.com will be able to get access to user's data, given every Fitbit user you need to get data about will allow your app to get his data.
Please let me know if this makes sense?
01-29-2018 01:06
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-29-2018 01:06
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@IoanbsuFitbit : Thank you for the response. Is there any easier method to simply get access from the user (By logging in to FitBit) and create/write credentials(clientID, token) for him by the Application. (Since most of the FitBit users do not know how to create/access ClientID)

01-30-2018 09:13
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



01-30-2018 09:13
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
@closerlook if I understand your correctly you're concerned that every user has to create an app at dev.fitbit.com?
Users don't have to create an app at dev.fitbit.com. You register the app once and then you set up your app to get access to other Fitbit users's data through OAuth2.0 flow.
Basically what's going on is that your app(that you have to develop) will redirect users to fitbit.com/oauth2/authorize and tell the user that the app that you registered at dev.fitbit.com wants to have access to their data. Once user grants access to his data, you can store their tokens and have access to user's data.
It is absolutely required that users have to grant and access for their Fitbit data to be accessed by your app.
Let me know if it answers your question.
03-14-2018 23:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-14-2018 23:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thank you for your reply. I have integrated the Fitbit API with our portal now I can see the Fitbit data in our portal. Now my question is there is any way to edit the data from our portal(i.e from our system), So that it change in Fitbit API too.

03-16-2018 04:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-16-2018 04:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Just for completeness, and one else looking, I replied to you about editing information here as well.

