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

Hey there,

Yes, InstaPy is under active development by its team, but there might be some changes to the function usages (for example they replaced some CamelCase arguments with their snake_case alternatives and deprecated some arguments or replaced them with the new ones)
You can read more about their API's at their GitHub page.
BTW, you can always use their official electron app and configure your bot using it.

Regards
 
Does this method still work in 2018?
Of course it works, when Instagram changes somethings and if that breaks the bot, you just have to wait a week or so and they will most likely fix it by that time. For free! That's why social coding and open source is so awesome.
 
Of course it works, when Instagram changes somethings and if that breaks the bot, you just have to wait a week or so and they will most likely fix it by that time. For free! That's why social coding and open source is so awesome.
when it will available ? are you using it now :anyway:
 
Can you set this bot to follow people that liked a specific photo on a specific page?
 
I can't get this to work as I'm getting a bunch of errors. Done most of the bug fixes, but now left with 3 things that won't run it.

Traceback (most recent call last):
File "example.py", line 6, in <module>
from src import InstaBot
File "/Users/pc-1/Desktop/instabot.py-master/src/__init__.py", line 1, in <module>
from .instabot import InstaBot
File "/Users/pc-1/Desktop/instabot.py-master/src/instabot.py", line 6, in <module>
from .userinfo import UserInfo
File "/Users/pc-1/Desktop/instabot.py-master/src/userinfo.py", line 5, in <module>
import requests
ImportError: No module named requests
 
I can't get this to work as I'm getting a bunch of errors. Done most of the bug fixes, but now left with 3 things that won't run it.

Traceback (most recent call last):
File "example.py", line 6, in <module>
from src import InstaBot
File "/Users/pc-1/Desktop/instabot.py-master/src/__init__.py", line 1, in <module>
from .instabot import InstaBot
File "/Users/pc-1/Desktop/instabot.py-master/src/instabot.py", line 6, in <module>
from .userinfo import UserInfo
File "/Users/pc-1/Desktop/instabot.py-master/src/userinfo.py", line 5, in <module>
import requests
ImportError: No module named requests

The link for the bot in this post is outdated. Try setting up the current version:
https://github.com/instabot-py/instabot.py
 
Looks good but I keep on getting errors

Traceback (most recent call last):
File "C:\instabot\opensourcebotsfuckyeah.py", line 53, in <module>
unfollow_whitelist=['', ''])
File "C:\instabot\src\instabot.py", line 234, in __init__
self.login()
File "C:\instabot\src\instabot.py", line 303, in login
self.user_id = ui.get_user_id_by_login(self.user_login)
File "C:\instabot\src\userinfo.py", line 42, in get_user_id_by_login
json_info = json.loads(re.search('{"activity.+show_app', info.text, re.DOTALL).group(0)+'":""}')
AttributeError: 'NoneType' object has no attribute 'group'
 
Looks good but I keep on getting errors

Traceback (most recent call last):
File "C:\instabot\opensourcebotsfuckyeah.py", line 53, in <module>
unfollow_whitelist=['', ''])
File "C:\instabot\src\instabot.py", line 234, in __init__
self.login()
File "C:\instabot\src\instabot.py", line 303, in login
self.user_id = ui.get_user_id_by_login(self.user_login)
File "C:\instabot\src\userinfo.py", line 42, in get_user_id_by_login
json_info = json.loads(re.search('{"activity.+show_app', info.text, re.DOTALL).group(0)+'":""}')
AttributeError: 'NoneType' object has no attribute 'group'
There's a new bot available for free download : "NinjaGram"
 
When I start the bot via Python cmd, after login I see this:
"AttributeError: 'NoneType' object has no attribute 'group'
What I have to do?
 
Doesn't work for Mac so I guess I'll have to pull out my VM ughhh
Penguin did you find out the fix?
I'm getting the same error as you, this is my first time trying to use instabot and im on a windows PC.
 
Back
Top