Delete Instagram comment
Automatically delete Instagram comment on instagram.com. Delete one of your own comments on an Instagram post or reel by its shortcode and comment id. Opens the comment's own permalink, drives its options menu then Delete, and reloads that permalink to prove it is really gone before reporting success. Fails clearly when the comment isn't available (already deleted, wrong id/shortcode) and when its options menu has no Delete entry (a comment that isn't yours).
Input
shortcode requiredPost/reel shortcode (instagram.com/p/<code>/).
comment_id requiredId of the comment to delete, from get_post_comments' id field. Must be a comment you own.
Output
shortcode requiredcomment_id requireddid_delete requiredverified_gone requiredTrue when the comment's own permalink was reloaded after the delete and no longer resolves to it.
FAQ
Send Instagram DM
Send a DM to an Instagram user by their username: plain text, an image attachment, or both together. Takes the image as base64 so it runs from any client. Returns ids/timestamps for whichever parts were sent, and the recipient-side restriction banner if one is shown right after sending.
Get Instagram post comments
Fetch the top-level comments of an Instagram post or reel by shortcode, in Instagram's own order, plus its caption and counts. Returns code, url, caption, comments (id, text, user, verified, created_at, like_count, reply_count), like_count, view_count, comment_count (Instagram's count, replies included), comments_disabled, and complete. Reads up to count comments (default 12); complete is true only when every top-level comment was read, false when count stopped the list first. Replies are not included. A post with no comments returns an empty list.
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.
