Instagram Post Scraper avatar

Instagram Post Scraper

Try for free

Pay $2.30 for 1,000 results

View all Actors
Instagram Post Scraper

Instagram Post Scraper

apify/instagram-post-scraper
Try for free

Pay $2.30 for 1,000 results

Scrape Instagram posts. Just add one or more Instagram usernames and get your data in seconds including text, hashtags, mentions, comments, images, URLs, likes, locations, and metadata. 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
SS

Not fetching mentions correctly

Open

sarthak_s opened this issue
17 days ago

It is not able to fetch mentions in the posts correctly. I tried for this brand handle: https://www.instagram.com/mynykaa/, fetching past 10 posts.

This particular post was returned in the JSON: https://www.instagram.com/p/C_aU6TsNKG8/. However the mentions field was empty even though there are mentions in the Instagram post.

alexey avatar

Hi!

It's just different logic - from very first version this actor mapped mentions array from @username fragments in post text. So this rule still followed to not disrupt current users by different format.

For your referenced post https://console.apify.com/view/runs/OBzxCC9w1K0kUi3wA user(s) tagged in photo mapped as taggedUsers - see https://api.apify.com/v2/datasets/egUFKMzUArZjpOcLG/items?clean=true&format=json

Just do mind differences between mentions and taggedUsers

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

SS

sarthak_s

17 days ago

Hi Alexey

Thank you for your prompt reply. I understand what you explained above- difference in "taggedUsers" and "mentions". However the JSON I recieved from this actor after running the query on the Instagram handle "mynykaa" still does not have the detail in either the "taggedUsers" sections or the "mentions" section. Here is the link to the run: https://console.apify.com/view/runs/vxM1LvgoOrvefR5k2

You will see for that particular shortcode (C_aU6TsNKG8), there is no taggedUsers field. And the mentions part is empty. I have attached the screenshot below. If my understanding is correct- the actor is able to fetch the taggedUsers when the URL of the post is given (in your run above). However when I am giving the brand handle, it is not working correctly.

Looking forward to your reply

alexey avatar

Weird, direct URL works fine: https://console.apify.com/view/runs/PZIxKONsQnyJ28voJ

Should be the same since full post details scraped in the same way. Bug confirmed, will keep you informed about fixes

Developer
Maintained by Apify
Actor metrics
  • 1.5k monthly users
  • 96 stars
  • 100.0% runs succeeded
  • 1.1 days response time
  • Created in Nov 2021
  • Modified 4 days ago