Skip to content

requesting token for specific subset of data #50

@dataread400

Description

@dataread400

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions