[Tutorial] Setting up a FREE Instagram bot: instabot.py

Thanks alot man. I found this python shell but I didnt know how to set it up. Also, its rather slow. Is there a way to speed it up even if it risks a ban?
 
Thanks for the share. As someone getting into Instagram, bots and Python for the 1st time, just running this code in debug and going line by line has been a great introduction to all 3. I'm already looking to add and change a few things.

I am a bit confused by a few things, like why it's set to unfollow so quickly and to unfollow everyone when you close the script.

However the thing I'm more confused about is why can't Instagram easily tell it's a bot? Again I'm new to all things botting, but all it's doing is http post/get requests, it doesn't mimic any type of real user events like mouse clicks, keyboard events, page navigation, scrolling and so on, compared to a headless browser or a macro program. I would think this is something Instagram could easily track, but I don't know.
I don't know, maybe it would require too much resources to track keyboard and mouse stuff, or maybe Instagram just doesn't give a shit about bots as long as you don't exceed their spam limits.:D I used this bot for a week on my personal account, being constantly logged in with ips from Germany and Finland simultaneously and had no problem until I started pushing +2000 likes per day!
Thanks alot man. I found this python shell but I didnt know how to set it up. Also, its rather slow. Is there a way to speed it up even if it risks a ban?
Well you can increase the daily limits from your bot file, but I think there is also some other minimum delay between actions. Try opening the files in notepad and changing stuff randomly until it speeds up :p
 
This looks amazing, thank you for the share. How likely is it for instagram to realize that it's a bot?
 
Thank you for sharing the code, and the advice! Took me time to set it up but it's working like a cake!
 
This looks amazing, thank you for the share. How likely is it for instagram to realize that it's a bot?
Of course there are always risks, but I think it's pretty safe as long as you don't like or follow too much.
 
its working now !
bit confused about follow time 5*60*60 what does is mean?
 
Last edited:
This is perfect, but I can't figure out how to get it to unfollow people. Do I need to open a different file than the 'opensourcebotsfuckyeah' one? I have the unfollow settings in there, but all it does is 'like' things.
 
This is perfect, but I can't figure out how to get it to unfollow people. Do I need to open a different file than the 'opensourcebotsfuckyeah' one? I have the unfollow settings in there, but all it does is 'like' things.
The bot only unfollows people it has followed itself. So all manual follows are basically whitelisted by default. The code would probably need some changes to make it unfollow everyone.
 
terminal doesn't open. Closes instantly. Please help me OP :)
 
i would like to thank you , and give a proof that its working here is the image
image.jpg
[/url][/IMG]
image.jpg
 
Works but only for likes.
When I put follow per day=1000 it says trying to follow x, followed x #1 ; trying to follow y, followed y #2 ; .... trying to follow z, followed z #69 etc. but when I check my profile on instagram it only followed 1 person
Anybody experiencing this?
 
Works but only for likes.
When I put follow per day=1000 it says trying to follow x, followed x #1 ; trying to follow y, followed y #2 ; .... trying to follow z, followed z #69 etc. but when I check my profile on instagram it only followed 1 person
Anybody experiencing this?
So from what i've gathered the bot unfollows the person it just followed. I'm trying to figure out how to stop/come up with a work around. However, I have 0 experience with python or any coding. So I might not be of use in this case.

EDIT: There are delays in the program. Also, the bot runs slowly because it like/follows/unfollows/comments at a rate of (24hrs DIVINDED BY the number inputed for likes/follows/unfollows/comments) It has a delay for each type of action. This is my guess from looking at the code. It also adds randomness as an extra precaution. I don't know how to disable or tweak this without breaking everything. I've been trying but no success because, again, no coding experience. As for the 5*60*60 is in seconds. So 5(value) multiplied by 60 seconds in a minute multiplied by 60 minutes in an hour gives you 5 hours (also a guess by looking at the README). All time values are in seconds. This is what i've gathered so far. Will post again/edit with more info if I figure things out.

EDITEDIT: https://github.com/LevPasha/instabot.py has a lot of info about input values etc...
EDITEDITEDIT: Just download Notepad++ and open the readme. It makes things a lot easier. Also use it to edit your files. That is all Theris out
 
Last edited:
So from what i've gathered the bot unfollows the person it just followed. I'm trying to figure out how to stop/come up with a work around. However, I have 0 experience with python or any coding. So I might not be of use in this case.

EDIT: There are delays in the program. Also, the bot runs slowly because it like/follows/unfollows/comments at a rate of (24hrs DIVINDED BY the number inputed for likes/follows/unfollows/comments) It has a delay for each type of action. This is my guess from looking at the code. It also adds randomness as an extra precaution. I don't know how to disable or tweak this without breaking everything. I've been trying but no success because, again, no coding experience. As for the 5*60*60 is in seconds. So 5(value) multiplied by 60 seconds in a minute multiplied by 60 minutes in an hour gives you 5 hours (also a guess by looking at the README). All time values are in seconds. This is what i've gathered so far. Will post again/edit with more info if I figure things out.

EDITEDIT: https://github.com/LevPasha/instabot.py has a lot of info about input values etc...
EDITEDITEDIT: Just download Notepad++ and open the readme. It makes things a lot easier. Also use it to edit your files. That is all Theris out

I tested it out, it doesn't unfollow before following again, it just stops following after the first follow.
I also have no coding experience so I can't fix it :(
 
I tested it out, it doesn't unfollow before following again, it just stops following after the first follow.
I also have no coding experience so I can't fix it :(
That is because there is a delay. If you listened to my advice by going to the link or opening the README you'd figure this out. The delay is calculated by (# Of follows) / (time in the day) so it evenly disperses the follows throughout the day. If you want more follows in a shorter amount of time (this is dangerous if you leave the program open 24/7 like I am) then change the value of # of follows to something like 100000
 
There is a bug where it attempts to follow the same person over and over again.
 
keeps prompting
"Get media id by tag : tags-i-used"
Also getting error
"Except on get_media!"

means that you are probably:
1- banned on doing that (wait for a few days if fresh account)
2- no internet connection
3- banned permanently
 
This looks amazing, thank you for the share. How likely is it for instagram to realize that it's a bot?
in my experience, as long as you don't exceed the limit, starts slow (like most of the instagram planners) it won't ban you
 
There is a bug where it attempts to follow the same person over and over again.
Yeah I've also noticed this. The bot is designed to work with popular hashtags that get constantly new content. If the tags are slower, it keeps liking and following the same people over again.
 
Back
Top