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

coma123

Junior Member
Joined
Mar 21, 2016
Messages
115
Reaction score
4
it is not working for me. when I start "opensourcebotsfuckyeah.py" it is closing in second. any suggestion?
 

vodkacola

Junior Member
Joined
Apr 13, 2016
Messages
100
Reaction score
150
it is not working for me. when I start "opensourcebotsfuckyeah.py" it is closing in second. any suggestion?
Does example.py also close immediately if you open it?
Did you save the file with UTF-8 formatting?
 

coma123

Junior Member
Joined
Mar 21, 2016
Messages
115
Reaction score
4
Does example.py also close immediately if you open it?
Did you save the file with UTF-8 formatting?
Yes but fixed now. I run it through IDLE and read that problem was in " import request ". Installed " request " library and everything works good. But now I am getting this 2 warnings:

Warning (from warnings module):
File "C:\Python27\lib\site-packages\requests\packages\urllib3\util\ssl_.py", line 318
SNIMissingWarning
SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.

Warning (from warnings module):
File "C:\Python27\lib\site-packages\requests\packages\urllib3\util\ssl_.py", line 122
InsecurePlatformWarning
InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.

so what you think what is problem?
 

vodkacola

Junior Member
Joined
Apr 13, 2016
Messages
100
Reaction score
150
Yes but fixed now. I run it through IDLE and read that problem was in " import request ". Installed " request " library and everything works good. But now I am getting this 2 warnings:

Warning (from warnings module):
File "C:\Python27\lib\site-packages\requests\packages\urllib3\util\ssl_.py", line 318
SNIMissingWarning
SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.

Warning (from warnings module):
File "C:\Python27\lib\site-packages\requests\packages\urllib3\util\ssl_.py", line 122
InsecurePlatformWarning
InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.

so what you think what is problem?
I don't know, I didn't run into this myself when installing stuff. Maybe update to newer Python version as the warning instructs or look at the links if you're not sure.
 

washand

Regular Member
Joined
Jun 19, 2016
Messages
306
Reaction score
32
got the same problem. cmd opens for 0.25 seconds and closes. Please help
 

washand

Regular Member
Joined
Jun 19, 2016
Messages
306
Reaction score
32
>>>
RESTART: C:\Users\Administrator\Downloads\instabot.py-master\instabot.py-master\opensourcebotsfuckyeah.py
Traceback (most recent call last):
File "C:\Users\Administrator\Downloads\instabot.py-master\instabot.py-master\opensourcebotsfuckyeah.py", line 4, in <module>
from instabot import InstaBot
File "C:\Users\Administrator\Downloads\instabot.py-master\instabot.py-master\instabot.py", line 4, in <module>
import requests
ImportError: No module named 'requests'
>>>
 

shacent

Newbie
Joined
Jun 19, 2016
Messages
16
Reaction score
2
it is not working for me. when I start "opensourcebotsfuckyeah.py" it is closing in second. any suggestion?

got the same problem. cmd opens for 0.25 seconds and closes. Please help

>>>
RESTART: C:\Users\Administrator\Downloads\instabot.py-master\instabot.py-master\opensourcebotsfuckyeah.py
Traceback (most recent call last):
File "C:\Users\Administrator\Downloads\instabot.py-master\instabot.py-master\opensourcebotsfuckyeah.py", line 4, in <module>
from instabot import InstaBot
File "C:\Users\Administrator\Downloads\instabot.py-master\instabot.py-master\instabot.py", line 4, in <module>
import requests
ImportError: No module named 'requests'
>>>

I had the above message as well. U have to manually add the requests libratry to your python l. Google python requests lib download. After downloading extract it to /python/python36/lib/site-packages
 

coma123

Junior Member
Joined
Mar 21, 2016
Messages
115
Reaction score
4
Introduction
So you want to bot Instagram, but wouldn't like to throw hundreds of $$$ into the overpriced GUI tools that everyone on BHW seems to prefer? Worry no more! Vodkacola will help you spam the shit out of this social network, for FREE!
In this thread I will share the tool(s) I personally ended up using, and how to set them up, step by step.

What we will set up is an Amazon micro instance which runs these python scripts created by our lovely friend LevPasha: https://github.com/LevPasha/instabot.py



What features does this bot have?
-Follow by hashtags
-Unfollow
-Like by hashtags
-Comment by hashtags
-Custom follow and like limits
-Unlimited account support
-Proxy support​

What using this bot requires?
-a PC
-Ability to read​

What using this bot does NOT require?
-Coding skills
-Paying monthly fees for a motherfucking computer program
-Paying for anything at all
-Clicking referral links from some bullshit BHW tutorial thread​



Setting up AWS Micro instance (optional):
In this part we will set up a server where the scripts can run when your computer or internet is turned off.
1: Register to Amazon Web Services as a free tier user: https://aws.amazon.com/free/
2: Set up billing alerts as instructed here: http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/free-tier-alarms.html
3: Launch the virtual machine where you will run the bots, as instructed here: http://aws.amazon.com/getting-started/tutorials/launch-windows-vm/

Installing Python
Next you need to install Python either into your PC or the Amazon virtual machine you just set up. I'm not going to explain this myself, the internet is full of tutorials for this stuff!

Using instabot.py
1: Download instabot.py files: https://github.com/LevPasha/instabot.py/archive/master.zip
2: Extract the .zip to your desktop / porn folder / wherever
3: Locate the file called "example.py"
4: Right click
5: Open with notepad
6: Edit in your account info, tags, follow and like limits
7: Save as "opensourcebotsfuckyeah.py"
8: Run the file you just saved. If everything went right you should see a terminal like this:
5K9ppHo.png

9: Go outside and spend the money you just saved at a liquor store​
I have one issue if you can fix. Bot unfollows newly followed people from top of the list. Can you change it and start unfollowing from bottom of the list?
You understand what I said?
 

washand

Regular Member
Joined
Jun 19, 2016
Messages
306
Reaction score
32
I had the above message as well. U have to manually add the requests libratry to your python l. Google python requests lib download. After downloading extract it to /python/python36/lib/site-packages
Hmm dont understand where I can get requests on my AWS
 

eyeflip

Newbie
Joined
Jan 13, 2014
Messages
13
Reaction score
0
so this is what i'm seeing, and it seems to be going kinda quickly, like one every 4 or 5 seconds. isn't this too fast?

also i am looking at photos my account has liked on my phone, and its not showing any change, neither is my following number. am i not doing it right?

Screen Shot 2016-06-20 at 12.39.16 PM.png
 
Last edited:

vodkacola

Junior Member
Joined
Apr 13, 2016
Messages
100
Reaction score
150
I have one issue if you can fix. Bot unfollows newly followed people from top of the list. Can you change it and start unfollowing from bottom of the list?
You understand what I said?
I don't know Python and didn't make the bot so I can't help you here, but you can write the suggestion to instabot's github page:
https://github.com/LevPasha/instabot.py
Hmm dont understand where I can get requests on my AWS
If you're running a micro instance it's the same as for every other PC.
so this is what i'm seeing, and it seems to be going kinda quickly, like one every 4 or 5 seconds. isn't this too fast?

also i am looking at photos my account has liked on my phone, and its not showing any change, neither is my following number. am i not doing it right?

View attachment 80765
Yeah, there is something wrong with your setup. The bot is only looking at pictures but not liking or following. Are your follow and like limits really low?

When the bot likes you should see this message:
Trying to like media: 1234567890
Liked: 1234567890. Like #1

And when it follows the same but with the word follow instead of like.
 

Schabbo

Newbie
Joined
Jul 29, 2014
Messages
3
Reaction score
7
So i found this on the GitHub page, hope you can solve ur problem :)

How to install and run:

1) Download and install Python to your computer.

2) Install Python lib requests. Run command pip3 install requests if you use Python 3, or type pip install requests if you use Python 2.

To install it just open CMD and tipe in ' pip3 install requests ' , then run your file .py


-------------------------------EDIT--------------------------

Bot works as well, here a screenshot of the proof :)
Cattura.png
 
Last edited:

cooolforce

Registered Member
Joined
Nov 27, 2012
Messages
92
Reaction score
17
Yes, you can change the amount of daily follows, and the amount of hours per day in which it is active. The bot adjusts it's speed based on these two settings.

Followers yes, likers I'm not sure.

"get media id by tag"
This is normal, it just says the tag from which it will next like images and follow users.

"Except on get_media!"
Are you using blocked tags? I get this for NSFW tags that are censored by Instagram.


Have you properly installed Python?
You can check that by opening cmd.exe and typing in python. You should see your python version number and a bunch of other info pop up.

Works now! Thanks man, i was indeed using banned hashtags. Changed the settings and this works like a charm.
 

vodkacola

Junior Member
Joined
Apr 13, 2016
Messages
100
Reaction score
150
2) Install Python lib requests. Run command pip3 install requests if you use Python 3, or type pip install requests if you use Python 2.
Shit I totally forgot this step from OP and can't edit anymore:confused:
 

Ghoro

Registered Member
Joined
Jun 16, 2012
Messages
87
Reaction score
4
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.
 
Top