Why is the API returning S3 links for profile pictures scraped from Linkedin profiles?
Download images right away using the provided URL from our API to avoid issues, as temporary links can expire unexpectedly.

/ proxycurl

Why is the API returning S3 links for profile pictures scraped from Linkedin profiles?

Steven Goh
Share:

Subscribe to our newsletter

Get the latest news from Proxycurl

When we scrape a public Linkedin profile for example with our Person Profile API, we are served with a temporary CDN URL by Linkedin which usually begins with https://media-exp... Some of our customers store the temporary CDN URL which expires in an unpredictable manner. To prevent this, we have taken to temporarily cache the images so that the links to the pictures persist in a predictable fashion. To be precise, 30 minutes.

This is by design so developers can handle images by downloading them instead of relying on unreliable CDN URLs.

The recommended approach to these temporal links is to download the image via the URL returned from our API as soon as we return the response and host the image on your end.

Subscribe to our newsletter

Get the latest news from Proxycurl

Steven Goh
Share:

Featured Articles

Here’s what we’ve been up to recently.