08-29-2016 12:07
08-29-2016 12:07
I'm working with a team of 3 new devs on our final project at a coding boot camp. We have two weeks to finish our project.
We would like to incorporate the fitbit API into a web app. I have some questions on how to go about doing that.
1) We need to get approved before we can use the API right?
2) If so, do we need to purchase a domain before approval?
3) Is there anything we need to know that you guys would recommend?
08-29-2016 12:12
08-29-2016 12:12
What platform and programming language are you planning to use?
08-29-2016 12:16
08-29-2016 12:16
Great thanks Jeremiah. We plan to use PHP (laravel as a framework) and Javascript.
We do go ahead and go through the registration process then correct?
08-29-2016 12:20
08-29-2016 12:20
Tip: In your case, there are two options for OAuth 2 in your app. If you want to make API requests using PHP, use the Authorization Code Grant Flow. If you only plan on making API requests from the browser (XHR/"AJAX"), use Implicit Grant Flow.
09-11-2016 19:56
09-11-2016 19:56
09-12-2016 16:36
09-12-2016 16:36
This sounds like you might have a time zone issue if a person is behind UTC. Are you sure you're still requesting the user's today?
For example, in San Francisco during Daylight Savings Time, the city is 7 hours behind UTC. So at 5 PM in San Francisco, the current date in UTC is different than the date for a person in San Francisco.