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

OAuth2 - Access without Web Consent

ANSWERED

I was hoping to analyze my sleep patterns using the Fitbit API, but I was having some trouble with the authentication step. I am writing a script to analyze my own data rather than a web or mobile application. I was wondering if there was an alternative method of obtaining an access token for my data so that I can proceed. Thank you in advance!

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

@Zamru713 There's two relatively easy ways you could pull data:

 

1) Register an app at https://dev.fitbit.com/apps then use the OAuth 2.0 tutorial page

or

2) Use API Explorer, select OAuth 2 for Authentication before trying to make calls

 

Hope that helps.

Andrew | Community Moderator, Fitbit

What motivates you?

View best answer in original post

Best Answer
0 Votes
4 REPLIES 4

@Zamru713 There's two relatively easy ways you could pull data:

 

1) Register an app at https://dev.fitbit.com/apps then use the OAuth 2.0 tutorial page

or

2) Use API Explorer, select OAuth 2 for Authentication before trying to make calls

 

Hope that helps.

Andrew | Community Moderator, Fitbit

What motivates you?

Best Answer
0 Votes

Thank you @AndrewFitbit! I used the OAuth 2.0 tutorial page to get a token.

Best Answer
0 Votes

I am trying the latter, but that link no longer works, they have sunsetted it. Anyone know of alternatives?

Best Answer
0 Votes

Hi @Ashsub

 

Here's the link to the Web API Explorer tool: https://dev.fitbit.com/build/reference/web-api/explore/

 

Gordon

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes