Instagram Post Scraper avatar
Instagram Post Scraper

Pricing

from $1.60 / 1,000 posts

Go to Store
Instagram Post Scraper

Instagram Post Scraper

Developed by

Apify

Apify

Maintained by Apify

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.

4.5 (32)

Pricing

from $1.60 / 1,000 posts

439

Total users

41K

Monthly users

5.6K

Runs succeeded

>99%

Issues response

2.6 days

Last modified

8 hours ago

id

caption

url

commentsCount

likesCount

firstComment

359***66

Books allow readers to *** at the link in bio.

https://www.instagram.com/p/DH***C/

41

9028

More about books 😍

359***88

Photos by @ingo*** about these pumas at the link in bio.

https://www.instagram.com/p/DH***o/

143

68801

❤️

359***22

Meet the Nat*** their stories at the link in bio.

https://www.instagram.com/p/DH***O/

136

13385

Omg!!! ❤️ @dzennypha_

The data above is synthetic and does not reflect real-world values. View full dataset

SS

Not fetching mentions correctly

Closed

sarthak_s opened this issue
10 months 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

10 months 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

SS

sarthak_s

9 months ago

Hi Alexey - is there any update on this ?

misa avatar

Hello, thank you for following up. We have other more urgent priorities at the moment, so it might take a couple of sprints to fix this, but we'll inform you as soon as we have this production. Thank you for your patience!

alexey avatar

Hi!

Fixed in latest build, see sample run https://console.apify.com/view/runs/Wvl5tLWxd1pz0Su7A and C_aU6TsNKG8 in https://api.apify.com/v2/datasets/HZipPtGho6dMMrxA8/items?clean=true&fields=shortCode,taggedUsers&format=json

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