Unfollow
To unfollow one person we will use unfollow() function.
Python3
from instabot import Bot bot = Bot() bot.login(username = "your_username" , password = "your_password" ) # To unfollow a single person. bot.unfollow( "geeks_for_geeks" ) |
Output:
To unfollow many people make a unfollow list then use the “unfollow_users” function.
Python3
from instabot import Bot bot = Bot() bot.login(username = "your_username" , password = "your_password" ) # To unfollow more person. unfollow_list = [ "user_id1" , "user_id2" , "user_id3" , "..." ] bot.unfollow_users(unfollow_list) |
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.