ricardojoserf / instagram-followers-bot

A bot for Instagram. You can follow users using a tag or in a specific location, unfollow those who dont follow-you-back, and follow-back those who follow you
476 stars 113 forks source link

bot stops working after 83 -84 follows #48

Closed MasterOregano closed 2 years ago

MasterOregano commented 2 years ago

Hello, first of all, thank you very much for creating this tool, it really helps! So I want to run the bot for a whole day with big delays between every follow so I won't get banned, but every time I run it, the bot stops after 83 or 84 follows and exits the script. I tried setting the maximum amount to 600 but it still exits, I even canceled the break function but it still exits.

Specifications

ricardojoserf commented 2 years ago

Try changing the value of the parameter MAXIMO to a higher number and let me know, the only other reason is that your computer runs out of resources but it should not

MasterOregano commented 2 years ago

I increased the Maximo to 10000 but it still stops at the 80s

MasterOregano commented 2 years ago

do you have a fix idea?

ricardojoserf commented 2 years ago

I am unable to replicate the error, probably it is related to your host machine. I would try this in a Linux environment

MasterOregano commented 2 years ago

I am really out of ideas, I have been trying to fix it but I am unable, I ran it on kali Ubuntu, Kali Linux, both of them on a different computer.

ricardojoserf commented 2 years ago

Hi @MasterOregano . Probably Instagram does not allow you to do more follow/unfollow requests because you reach a maximum they have set (and they change preiodically to avoid bots).

MasterOregano commented 2 years ago

ok thank you, do you have a line of code that could make the script rerun every hour?

ricardojoserf commented 2 years ago

Hi @MasterOregano , please check cron if you want to use Linux to do that, or scheduled tasks if you want to use Windows ;)

MasterOregano commented 2 years ago

Thank you so much!!!