![Instagram Scraper - All in one avatar](https://images.apifyusercontent.com/nWf_zecUeVddthG1HGxVlbcKhAhuJFjN18E2xhAQWPA/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9sMUJ0V25lMWxBV0lOSXBKYi9Ib1llNjZNVzRaOUZXZVRrZS1pbnN0YWdyYW0ucG5n.webp)
1 day trial then $30.00/month - No credit card required now
![Instagram Scraper - All in one](https://images.apifyusercontent.com/nWf_zecUeVddthG1HGxVlbcKhAhuJFjN18E2xhAQWPA/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9sMUJ0V25lMWxBV0lOSXBKYi9Ib1llNjZNVzRaOUZXZVRrZS1pbnN0YWdyYW0ucG5n.webp)
Instagram Scraper - All in one
1 day trial then $30.00/month - No credit card required now
Scrape instragram profiles, followers, posts, comments and get valuable information like email addresses, websites, post engagement insights, commented users, etc
Help with Start from Cursor
Closed
Hello, i want to collect every single comment on a given post. When I run this scraper normally, it usually returns around 60-100 comments from a post with 160, for example. I saw that there is an option to Start from cursor, which requires a value from the default storage of a run, under the lastCursor key. I've tried copying the values from my last run and pasting them in the Start from Cursor option, but it still gives me the same comments, so I would like to know if I'm doing something wrong or if there is another way to collect all comments from a given post.
Thanks in advance
![curious_coder avatar](https://apify-image-uploads-prod.s3.amazonaws.com/jodA8dKTGDWyAvdT4/fZ7gCoyjDwPpEcjrm-myAvatar.png)
Thanks for opening the issue, Let me check and get back to you
![curious_coder avatar](https://apify-image-uploads-prod.s3.amazonaws.com/jodA8dKTGDWyAvdT4/fZ7gCoyjDwPpEcjrm-myAvatar.png)
Hi, It was quite tricky to get the proper cursor value from state
key of key-value store.
So i changed the code to save the cursor value under dedicated lastCursor
key.
weightless_greeting
I'll run the scraper a few times and check, but thanks a lot for the time!
![curious_coder avatar](https://apify-image-uploads-prod.s3.amazonaws.com/jodA8dKTGDWyAvdT4/fZ7gCoyjDwPpEcjrm-myAvatar.png)
Also you can just resurrect the stopped run if it gets stopped before scraping all records.
I noticed that the using lastCursor
value is still tricky and requires some coding knowledge. WIll figure out some solution soon
- 162 monthly users
- 9 stars
- 98.5% runs succeeded
- 14 hours response time
- Created in Jun 2023
- Modified 13 days ago