Guide Shows How to Export Instagram Post Comments to CSV Using an API
A developer who builds the SocialHolmes social data API explains why collecting comments from public Instagram posts is difficult, citing login walls, rate limits, frequently changing internal queries, and paginated loading. The article reviews three approaches: the official Instagram Graph API, which only covers accounts connected to the developer's app, do-it-yourself scraping, and paid scraping services. It then walks through a curl workflow that starts a scraping run, polls its status, and reads results in pages of up to 100 comments. A Python script is provided that automates the process and saves the output to a CSV file.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.



Discussion (0)
Log in to join the discussion and vote.
Log in