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

why my app is not showing in fitbit users applications

ANSWERED

I created an app in Fitbit later I wrote code for authentication

 

import pythonfitbitfrom pythonfitbit import gather_keys_oauth2 as Oauth2
import pandas as pd import datetime

CLIENT_ID = '******'CLIENT_SECRET = '***************************'server = Oauth2.OAuth2Server(CLIENT_ID, CLIENT_SECRET)server.browser_authorize()token = server.fitbit.client.session.token

ACCESS_TKN = token['access_token']REFRESH_TKN = token['refresh_token']client = fitbit.Fitbit(CLIENT_ID, SECRET, access_token=ACCESS_TKN, 
refresh_token=REFRESH_TKN)fitbit_data = client.intraday_time_series('activities/heart', 
base_date="2017-04-10",detail_level='1min', start_time='9:00', end_time='18:00')

in my browser I got Fitbit login page after it redirected to another page it is showing the allow or deny I clicked on allow next it redirected to another URL which I mentioned in-app callback URL i.e "https://google.com"

and in my terminal, it is showing like this

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hi @ACC,

 

It redirects you to google.com because you set that in "Callback URL", so that works as expected. You need to set URL to your application.

 

Thanks,

Oleg

View best answer in original post

Best Answer
0 Votes
2 REPLIES 2

any one?

 

Best Answer
0 Votes

Hi @ACC,

 

It redirects you to google.com because you set that in "Callback URL", so that works as expected. You need to set URL to your application.

 

Thanks,

Oleg

Best Answer
0 Votes