Skip to main content
Solved

Retrieve friends activities streams from API

  • June 23, 2023
  • 1 reply
  • 80 views

Forum|alt.badge.img+4

Is there any way to get to the full activity stream from specific friends, from an API perspective? It seems like API: https://www.strava.com/api/v3/activities/{id}/streams?keys=watts only works for your own activites.

However, the full activity is available through the website (with cookie authentication):

https://www.strava.com/activities/9297562809/streams?stream_types%5B%5D=latlng&stream_types%5B%5D=privacy&stream_types%5B%5D=time&stream_types%5B%5D=heartrate&stream_types%5B%5D=altitude&stream_types%5B%5D=distance&stream_types%5B%5D=moving&stream_types%5B%5D=velocity_smooth&stream_types%5B%5D=cadence&stream_types%5B%5D=watts&stream_types%5B%5D=watts_calc

If this is available on the website, why isn't on the API side?

thanks,

Best answer by Jan_Mantau

Your friends need to connect to your app and with their bearer tokens you can get their streams. That's just the way it works, mainly due to privacy and server load reasons.

View original
Did this topic help you find an answer to your question?

1 reply

Jan_Mantau
Superuser
Forum|alt.badge.img+26
  • Superuser
  • 944 replies
  • Answer
  • June 23, 2023

Your friends need to connect to your app and with their bearer tokens you can get their streams. That's just the way it works, mainly due to privacy and server load reasons.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept, you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings