dilame / instagram-private-api

NodeJS Instagram private API SDK. Written in TypeScript.
MIT License
5.95k stars 1.14k forks source link

"We've detected automated behavior on your account" scary warning #1776

Open AliRoshaniDev opened 5 months ago

AliRoshaniDev commented 5 months ago

I used this library to create a robot for sending video posts based on a schedule, so that only two videos are sent at most each day, and I only ran this robot for two accounts. I adjusted the posting time for each account so that they do not overlap, and I always used the previous session for logging in. However, after about 7 days of usage, when I opened one of the accounts on my phone, I got this warning: "we've detected automated behavior on your account"

I heard somewhere that Instagram uses machine learning to identify robots. Considering this, does it mean that packages like this are useless, or is there a solution to prevent detection by Instagram and avoid suspension?

fawaz-exe commented 5 months ago

1 )Since this is a api-wrapper, Instagram might find it suspicious. On the contrary to that check your async cron schedule, sometimes it runs on loop on the server and instagram might detect as active session which of course is robotic behaviour.

2) Keep opening your account on a regular interval as well.

sunmasters commented 2 months ago

Also don't change devices