instagram-post-comments

Fetch paginated Instagram post comments and return structured JSON.

5.3k|252|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/browser-act/skills --skill instagram-post-comments
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: instagram-post-comments
Source: https://github.com/browser-act/skills/tree/main/solutions/social-listening/instagram-post-comments
Command: npx skills add https://github.com/browser-act/skills --skill instagram-post-comments

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Instagram posts generate a large volume of comments that are valuable for understanding audience sentiment and engagement, but collecting them manually is tedious and error-prone. This skill automates fetching comments for a specific post, returning key fields such as text, username, timestamp, like_count, and reply_count.

Core Features & Use Cases

  • Fetch comments for a specific Instagram post using the internal comments API with cursor-based pagination.
  • Return structured data including comment text, author, timestamp, like_count, and reply_count.
  • Use Case: quickly assemble comment datasets for sentiment analysis, community management, or influencer analytics.

Quick Start

Provide the Instagram post shortcode or media ID and run the provided scripts to retrieve all comments with pagination.

Frequently Asked Questions about instagram-post-comments

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract Instagram post comments automatically with pagination?

You scrape Instagram comments by providing a post shortcode or media ID to trigger the internal comments API, which uses cursor-based pagination to fetch all available comments. The script returns structured JSON containing text, username, timestamp, like_count, and reply_count for each comment.

What data fields are included when fetching Instagram comments via API?

Fetching Instagram comments via the internal API returns structured JSON data fields including comment text, author username, timestamp, like_count, and reply_count. These extracted fields support sentiment analysis, community management, and influencer engagement analytics.

Do I need to be logged into Instagram to extract comments from a post?

You need to be logged into Instagram to extract comments, as the skill operates within a browser context reading data already displayed on screen. Login is required when necessary to access the internal comments API for paginated data extraction.

What's the best way to get all comments from an Instagram post with a large volume of replies?

The best way to get all comments from a high-volume Instagram post is using cursor-based pagination via the internal comments API. This method iteratively fetches comment pages using a media ID and cursor, ensuring complete data extraction without manual scrolling.

Can I use Python scripts to retrieve Instagram media IDs from post shortcodes?

You can use the provided Python scripts to obtain an Instagram media ID from a post shortcode. These scripts expose primitive capabilities that use the media ID to iteratively fetch paginated comments from the internal API and return structured JSON.

Are there limitations to scraping Instagram comments through a browser context?

Limitations of scraping Instagram comments through a browser context include relying on data already displayed on screen and requiring user login when necessary. The skill operates within this context using the internal comments API, which may impose pagination or rate constraints during data extraction.