/ proxycurl

Why is the API returning S3 links for profile pictures scraped from Professional Social Network profiles?

When we scrape a public Professional Social Network profile for example with our Person Profile API, we are served with a temporary CDN URL by Professional Social Network 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.

Steven Goh | CEO
Share:

Subscribe to our newsletter

Get the latest news from Proxycurl

Featured Articles

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