Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

requesting token for specific subset of data #50

Open
dataread400 opened this issue Jan 10, 2021 · 0 comments
Open

requesting token for specific subset of data #50

dataread400 opened this issue Jan 10, 2021 · 0 comments

Comments

@dataread400
Copy link

I just managed to get fitbitr working in RStudio. It helped to look here.

I am conducting a psychology study where I have participants wearing a Fitbit Charge 4 for 7 days and nights. I want to be able to extract their profile, heart rate, activity, sleep, and weight data, but not all the other stuff. Is there a way to tailor the authorization page to specify that, the way you can using Fitbit's own OAuth 2.0 Tutorial page? The Tutorial page generates code that I could cut-and-paste somewhere.

So, if I run the fitbitr token command and it leads me to the browser... can I email that link to my participant? I think this is currently set-up to help you access your own data, but I need a way to access participant data.

Let's say they authorize the token. How does fitbitr get that code?

Once I've got the code, I figure I can use fitbitr to extract the data. I do have my own Fitbit account, so I can try and do this...

Please advise, esp. is anyone has used fitbitr to access consenting participant data.

Thanks!

Ken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant