Activity Photos?

641 views
Skip to first unread message

sean burles

unread,
Aug 20, 2016, 12:26:40 AM8/20/16
to Strava API
I dont seem to be able to see activity photos in any of the variables. I can see photo_count and total_photo_count but not photos. Anyone know what is going on?

Chris Donahue

unread,
Aug 22, 2016, 2:42:12 PM8/22/16
to sean burles, Strava API
Sean, can you send along the specific request you are making, and the JSON response you are receiving?

On Fri, Aug 19, 2016 at 9:26 PM sean burles <seanb...@gmail.com> wrote:
I dont seem to be able to see activity photos in any of the variables. I can see photo_count and total_photo_count but not photos. Anyone know what is going on?

--
You received this message because you are subscribed to the Google Groups "Strava API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to strava-api+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Derek Delaney

unread,
Sep 28, 2017, 11:54:40 AM9/28/17
to Strava API
I am also seeing this. Im making a request to https://www.strava.com/api/v3/activities/following

Michael Henasey

unread,
Sep 29, 2017, 9:56:19 AM9/29/17
to Strava API
It appears that the API will only return "photos" for the athlete you are authorized as, thus trying to get photos of athletes you follow isn't possible.

So, why does the API return a "total_photo_count" for a summary representation of an another athlete's activity but then no way to get to the actual photos???

Michael Henasey

unread,
Sep 29, 2017, 10:57:52 AM9/29/17
to Strava API
And even this seems not to be working...

I'm trying:


I am the authenticated athlete for this activity but all I get back is an empty string.

Michael Henasey

unread,
Sep 29, 2017, 11:03:12 AM9/29/17
to Strava API
The only thing that seems to work is getting the detailed Activity for your authenticated athlete and then the "photos" property is filled out with the Primary Photo object, which then has the "urls" for the photos associated with your activity.
Message has been deleted

Derek Delaney

unread,
Sep 29, 2017, 12:19:51 PM9/29/17
to Strava API
Thanks Michael for confirming I’m not the only one.

I’m also getting [] when I hit the /photos endpoint. I double checked that the activity does have a picture.

This portion doesn’t seamed to be well documented. I’m hoping the new developers.strava.com will be better. And I think it would be nice to get photos from followers activities not just the authenticated user.

Michael Henasey

unread,
Sep 29, 2017, 12:25:22 PM9/29/17
to Strava API
did not know about developers.strava.com. i'll have to read up about that. thanks!
Reply all
Reply to author
Forward
0 new messages