Instagram Profile Scraper avatar

Instagram Profile Scraper

Try for free

Pay $2.30 for 1,000 results

Go to Store
Instagram Profile Scraper

Instagram Profile Scraper

apify/instagram-profile-scraper
Try for free

Pay $2.30 for 1,000 results

Scrape all Instagram profile info. Just add one or more Instagram usernames and extract number of followers&follows, URLs, bio, posts, likes, counts, related profiles, captions, highlight reels. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.

Do you want to learn more about this Actor?

Get a demo
BR

Profile Picture is not recognized by other tools

Closed

bm_rewards opened this issue
3 months ago

I've been trying to work with the profile URLs that I fetched from the Apify API. The URL opens correctly in the browser, but I can't pass it into my API because it doesn't recognize it as an image or valid image URL

Testing third parties API, it's the same: Insert image from url -> Image not found

alexey avatar

Hi!

Issue might be caused by two reasons:

  • part of image URL is lost by your API and URL become broken
  • you opening image URL after it was expired

Explanation: full media URLs from Meta contain signature to prevent direct linking to media files and signature expire in 1-2 days. Means you need to open file by URL before expiration (soon enough) and you absolutely need to use exact URL, do not exclude or modify any of the URL parameters

In any case nothing can be done in this regards from actor code - URLs saved to dataset, how to handle them further is logic outside of actor's score.

I´m going to close the issue now, but if there would be anything else we could help with, please let us know.

Developer
Maintained by Apify

Actor Metrics

  • 2.8k monthly users

  • 230 stars

  • >99% runs succeeded

  • 23 hours response time

  • Created in Nov 2021

  • Modified 8 hours ago