Get Instagram post comments
Automatically get Instagram post comments on instagram.com. Fetch the preview comments of an Instagram post or reel by shortcode, plus its caption and counts. Returns code, url, caption, comments (text, user, verified, created_at, like_count, reply_count), like_count, view_count, comment_count, and comments_disabled. Only returns the comments Instagram renders by default, not the full thread, capped to count.
Input
code requiredPost shortcode, e.g. the X in instagram.com/p/X/
count optionalMax comments to return
Default: 12Output
code requiredcomments requiredurl optionalcaption optionallike_count optionalview_count optionalcomment_count optionalcomments_disabled optionalFAQ
Delete Instagram post
Delete one of your own Instagram posts or reels by shortcode. Opens the post, drives More options then Delete and the confirmation, and then reloads the post's link to prove it is really gone before reporting success. Returns the shortcode, the media id when Instagram exposes it, and whether the post was verified as removed. Fails clearly when the shortcode is not available to you (already deleted, private, or another account's) and when the post is still live after the confirmation.
Follow Instagram user
Follow an Instagram user from their profile. outgoing_request=true means a pending request to a private account; fails if there's no Follow button (already followed/requested). Returns following, outgoing_request, followed_by, user_id.
Get Instagram profile
Get an Instagram profile by username. With a session: exact data from Instagram's profile API (source=api). Logged out, where Instagram still serves the profile publicly: falls back to the page's og metadata (source=og_meta) — counts are approximate (K/M/B rounded) and unknown fields (biography, is_verified, is_private, is_business, category, external_url) are null. When Instagram login-walls the profile instead, the run FAILS rather than returning an empty payload, so a walled run can never be mistaken for a profile that hides its counts. Returns source, username, user_id, full_name, biography, followers, following, posts, is_verified, is_private, is_business, category, external_url, and profile_pic_url.
