Skip to main content
Answered

Download all Photos of my own activities?

  • June 14, 2023
  • 1 reply
  • 1744 views

Forum|alt.badge.img

Hello,

When getting an activity at `/api/v3/activities/9250597099` only the "primary" photo is returned. I have seen there is an endpoint `/api/v3/activities/9250597099/photos` but it only returns "placeholder" images..

Is there any way to retrieve all photos? I have basically requested all scopes..  "read","read_all","profile:read_all","activity:read","activity:read_all", but that didn't seem to change anything..

thanks,
  Herbert

 

 

Best answer by Swaz

Hi,

You're just missing one element: a querry parameter
try: /api/v3/activities/9250597099/photos?size=5000
the size param does affect the returned image size and quality, so i chose 5000 so its larger than any resolution of photos taken from my phone.


1 reply

Swaz
Forum|alt.badge.img+4
  • Hub Rookie
  • Answer
  • June 16, 2023

Hi,

You're just missing one element: a querry parameter
try: /api/v3/activities/9250597099/photos?size=5000
the size param does affect the returned image size and quality, so i chose 5000 so its larger than any resolution of photos taken from my phone.