Open michalszczecinski opened 5 years ago
Thanks @michalszczecinski. The code example looks helpful, though it seems like we should try and come up with a standard and generic Oauth flow for any of the data points that require this.
also came across this: https://github.com/sladkovm/stravaio
Maybe this can be a solution? https://github.com/markwk/qs_ledger/pull/15
Hi @kriszieba your code is a nice addition but not entirely sure that your documentation makes it clear on the steps required to use it. I'd also like to see a tighter integration or closer step-by-step walkthrough on using it too. Thanks!
hi Mark, thanks for sharing strava data downloader code. All works smoothly until when I try to pull activities. I believe they have changed the API settings and now that newly generated general token is not able to access activities (is just of scope
read
, whereasread_all
scope is required). You can read more about this here:https://developers.strava.com/docs/oauth-updates/
and here is stack overflow post with details of potential solution: https://stackoverflow.com/questions/52880434/problem-with-access-token-in-strava-api-v3-get-all-athlete-activities
Also stravalib seems to include some code that should help with this: https://github.com/hozn/stravalib#authentication
Thanks!