Print (response ) # if the response code is 200 that means ok Comment on post response = bot.comment ( '', comment_text = 'Nice Post!' ) Print (response ) # if the response code is 200 that means ok Like Recent post response = bot.like_recent ( 'instagram' ) Print (response ) # if the response code is 200 that means ok Unlike post response = bot.unlike ( '' ) The Bot Will Ask You The Code.) from myigbot import MyIGBotīot = MyIGBot ( 'USERNAME', 'PASSWORD' ) Like post response = bot.like ( '' ) Here is how to use MyIGBot (you can also check usage.py) Login Process (if you're account has 2 Factor Auth. Install MyIGBot from PyPi $ pip install myigbot
MyIGBot uses a number of open source projects to work properly: MyIGBot is a Instagram Private API to like, follow, comment, view & intaract with stories, upload post & stories, get all information about a user/posts and get posts based on locations/hashtags.