You've seen these posts everywhere on Instagram. A creator says "comment LINK and I'll send it to you" and a few seconds later there's a DM sitting in your inbox.
I used to think there was some guy with three phones doing this manually. There isn't. I ended up building this exact feature for my own product, so here's what's actually going on behind it, minus the marketing fluff.
It's not a bot clicking buttons
The old way people did this was with sketchy tools that logged into your account and pretended to be you. That's how accounts get flagged.
The legit way is Meta's official Instagram API. It only works with Business or Creator accounts linked to a Facebook Page, and every permission has to be approved by Meta. No passwords shared anywhere.
The flow, step by step
Someone comments on your post. Instagram fires a webhook to your server with the comment text, the comment ID and the post ID.
Your server checks for a keyword. Something as simple as: does this comment contain "link", "price" or "info"?β¦