We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The problem is that the bot stops subscribing when it reaches a number approximately equal to 40. Here is the code:
await client.login() while (test.length <= 1440) { await client.getFollowers({ userId: id, first: 50, after: cur }).then(followers => { followers.data.forEach(function (value) { test.push(value.id); }); }) console.log(test.length) } function rand(min, max) { return (max - min) * Math.random() + min } setInterval(() => { for (let i = 0; i < 10; i++) { setTimeout(function () { let data = new Date(), h = data.getHours(), m = data.getMinutes(), s = data.getSeconds() client.follow({ userId: `${test[p++]}` }) console.log(`${p}\nID - ${test[p]}\nDate - ${h < 10 ? `0${h}` : h}:${m < 10 ? `0${m}` : m}:${s < 10 ? `0${s}` : s}\n`) }, (Math.floor(Math.random() * 3000) + 1000) * i); } }, rand(600000, 800000))
The text was updated successfully, but these errors were encountered:
No idea, it might be IG detecting "malicious" activities.
Sorry, something went wrong.
No branches or pull requests
The problem is that the bot stops subscribing when it reaches a number approximately equal to 40. Here is the code:
The text was updated successfully, but these errors were encountered: