Follow
To follow one friend we can use follow() function.
Python3
from instabot import Bot bot = Bot() bot.login(username = "your_username" , password = "your_password" ) # Follow # To follow single person. bot.follow( "geeks_for_geeks" ) |
Output:
To follow many users we need to make a list of usernames first then follow using the “follow_users” function.
Python3
from instabot import Bot bot = Bot() bot.login(username = "your_username" , password = "your_password" ) # Follow # To follow more person. list_of_user = [ "user_id1" , "user_id2" , "user_id3" , "...." ] bot.follow_users(list_of_user) |
How to Make an Instagram Bot With Python and InstaBot?
In this article, we are going to see how to make an Instagram bot using Python and InstaBot.
Bots are really common these days to send messages, upload photos, send wishes, and many more things. Bots reduce our work, save time. Today we are creating an Instagram bot that can do the following things.
Contact Us