10-27-2015 07:19
10-27-2015 07:19
Hi, i am building an application using AngularJS (v. 1.4.7), and i want to acces to Firbit for request data of an user. I saw some examples to do that using PHP, but i want do it using only Angular. Is that possible, and somebody can tellme how do it?? Thanks.
10-27-2015 10:20
10-27-2015 10:20
Hi @AkumA,
Fitbit uses OAuth 2.0, so you need to obtain consent from the user. This will result in an access token. You append this access token to XHR you make by adding an Authorization HTTP header.
For fully client-side web applications, use the OAuth 2.0 Implicit Grant Flow.