I've managed to leave comments and like posts. but can't figure out following.
spending hours trying to debug this. is it even possible? do i have to use puppeteer or playwright?
As far as I know, the official Instagram API doesn't allow you to follow or unfollow users. It's mainly designed for business features like publishing content, comments, insights, and messaging.I've managed to leave comments and like posts. but can't figure out following.
spending hours trying to debug this. is it even possible? do i have to use puppeteer or playwright?
I was reverse engineering the api to leave comments/likes. but couldnt do follow/unfollow.As far as I know, the official Instagram API doesn't allow you to follow or unfollow users. It's mainly designed for business features like publishing content, comments, insights, and messaging.
If you're trying to automate follows, you'll usually need to use Instagram's private endpoints or browser automation tools like Playwright or Puppeteer. Just keep in mind that these methods are much more likely to trigger rate limits or account restrictions if you do them at scale
The official API won't let you follow, that endpoint isn't exposed, so what you're really doing is hitting the private/internal endpoints the app itself uses. Following is one of the most watched actions on those, which is why it breaks while likes and comments still go through. From what I've seen people usually automate it through the mobile app flow with proper device headers and tokens rather than puppeteer, since browser automation on IG gets detected fast. Whichever route you take, follows need to be slow and spaced out or the account gets action blocked quickly.I've managed to leave comments and like posts. but can't figure out following.
spending hours trying to debug this. is it even possible? do i have to use puppeteer or playwright?