# All In One Instagram MyIGBot | Like, follow, comment, view & much more!

**URL:** <https://onehack.st/t/all-in-one-instagram-myigbot-like-follow-comment-view-much-more/169718>\
**Category:** Tools & Scripts\
**Tags:** tools, social-media\
**Created:** [January 13, 2021, 2:21pm UTC](https://onehack.st/t/all-in-one-instagram-myigbot-like-follow-comment-view-much-more/169718 "2021-01-13T14:21:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Astrid](https://onehack.st/user_avatar/onehack.st/astrid/32/174869_2.png) [@Astrid](https://onehack.st/u/Astrid)\
**Post date:** [January 13, 2021, 2:21pm UTC](https://onehack.st/t/all-in-one-instagram-myigbot-like-follow-comment-view-much-more/169718/1 "2021-01-13T14:21:28Z")

</div>

# MyIGBot [![Build Status](https://camo.githubusercontent.com/4e084bac046962268fcf7a8aaf3d4ac422d3327564f9685c9d1b57aa56b142e9/68747470733a2f2f7472617669732d63692e6f72672f6477796c2f657374612e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/4e084bac046962268fcf7a8aaf3d4ac422d3327564f9685c9d1b57aa56b142e9/68747470733a2f2f7472617669732d63692e6f72672f6477796c2f657374612e7376673f6272616e63683d6d6173746572)

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.

- Easy to use
- More Powerful Now
- 2FA Login Support

## New Features!

- Get information of a user/post.
- Get posts based on hashtag/location.
- It also supports proxy now.
- Added 35+ features on this update.

You can also:

- Send Story Views
- Like, Unlike, Comment in a Post
- Follow, Unfollow User
- Upload Post and Stories
- Intaract with Stories
- Cookie Storing Feature

### Tech

MyIGBot uses a number of open source projects to work properly:

- [Python](https://www.python.org/) - Python is an interpreted, high-level and general-purpose programming language
- [Requests](https://requests.readthedocs.io/en/master/) - to make HTTP requests simpler
- [BeautifulSoup](https://pypi.org/project/beautifulsoup4/) - is a Python package for parsing HTML and XML documents.

And of course MyIGBot itself is open source with a [public repository](https://github.com/b31ngD3v/MyIGBot) on GitHub.

### Installation

Install MyIGBot from PyPi

$ pip install myigbot

### Usage

Here is how to use MyIGBot (you can also check usage.py)

###### Login Process (if you’re account has 2 Factor Auth. The Bot Will Ask You The Code.)

from myigbot import MyIGBot bot = MyIGBot(‘USERNAME’, ‘PASSWORD’)

###### Like post

response = bot.like(‘[https://www.instagram.com/p/CH5qV6-so6Y/](https://www.instagram.com/p/CH5qV6-so6Y/)’) print(response) # if the response code is 200 that means ok

###### Unlike post

response = bot.unlike(‘[https://www.instagram.com/p/CH5qV6-so6Y/](https://www.instagram.com/p/CH5qV6-so6Y/)’) 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

###### Comment on post

response = bot.comment(‘[https://www.instagram.com/p/CH5qV6-so6Y/](https://www.instagram.com/p/CH5qV6-so6Y/)’, comment\_text=‘Nice Post!’) print(response) # if the response code is 200 that means ok

###### Comment on recent post

response = bot.comment\_recent(‘instagram’, comment\_text=‘Nice Post!’) print(response) # if the response code is 200 that means ok

###### Follow user

response = bot.follow(‘instagram’) print(response) # if the response code is 200 that means ok

###### Unfollow user

response = bot.unfollow(‘instagram’) print(response) # if the response code is 200 that means ok

###### Send story view

response = bot.story\_view(‘b31ngdev’) print(response) # if the response code is 200 that means ok

###### Upload post

response = bot.upload\_post(‘image.png’, caption=‘Image 1’) print(response) # if the response code is 200 that means ok

###### Upload Story

response = bot.upload\_story(‘image2.png’) print(response) # if the response code is 200 that means ok

###### Find posts with hashtags

response = bot.hashtag\_posts(‘programmershumor’, limit=50) print(response) # by default the limit is setted to 20, this is a optional parameter

###### Find posts with location

response = bot.location\_posts(‘[https://www.instagram.com/explore/locations/6889842/paris-france/](https://www.instagram.com/explore/locations/6889842/paris-france/)’, limit=20) print(response) # by default the limit is setted to 20, this is a optional parameter

###### User post count

response = bot.user\_posts\_count(‘instagram’) print(response)

###### User follower count

response = bot.user\_followers\_count(‘instagram’) print(response)

###### User follow count

response = bot.user\_follow\_count(‘instagram’) print(response)

###### Post like count

response = bot.like\_count(‘[https://www.instagram.com/p/CH5qV6-so6Y/](https://www.instagram.com/p/CH5qV6-so6Y/)’) print(response)

###### Post comment count

response = bot.comment\_count(‘[https://www.instagram.com/p/CH5qV6-so6Y/](https://www.instagram.com/p/CH5qV6-so6Y/)’) print(response)

###### Get every post’s link of a user

response = bot.user\_posts(‘instagram’, limit=50) print(response) # by default the limit is setted to 50, this is a optional parameter

###### List of username who followed the user

response = bot.user\_followers(‘instagram’, limit=50) print(response) # by default the limit is setted to 50, this is a optional parameter

###### List of username whom the user follows

response = bot.user\_follows(‘instagram’, limit=50) print(response) # by default the limit is setted to 50, this is a optional parameter

###### List of username who liked a post

response = bot.post\_likers(‘[https://www.instagram.com/p/CH5qV6-so6Y/](https://www.instagram.com/p/CH5qV6-so6Y/)’, limit=50) print(response) # by default the limit is setted to 50, this is a optional parameter

###### List of username who commented a post

response = bot.post\_commenters(‘[https://www.instagram.com/p/CH5qV6-so6Y/](https://www.instagram.com/p/CH5qV6-so6Y/)’, limit=50) print(response) # by default the limit is setted to 50, this is a optional parameter

###### Feed posts of logged in user

response = bot.feed\_posts() print(response)

###### Username of the post owner

response = bot.post\_owner(‘[https://www.instagram.com/p/CH5qV6-so6Y/](https://www.instagram.com/p/CH5qV6-so6Y/)’) print(response)

###### Get caption of a post

response = bot.post\_caption(‘[https://www.instagram.com/p/CH5qV6-so6Y/](https://www.instagram.com/p/CH5qV6-so6Y/)’) print(response)

###### Get location of a post

response = bot.post\_location(‘[https://www.instagram.com/p/CH5qV6-so6Y/](https://www.instagram.com/p/CH5qV6-so6Y/)’) print(response)

###### Get hashtags used in the post

response = bot.post\_hashtags(‘[https://www.instagram.com/p/CH5qV6-so6Y/](https://www.instagram.com/p/CH5qV6-so6Y/)’) print(response)

###### Get usernames who are tagged in a post

response = bot.post\_tagged\_user(‘[https://www.instagram.com/p/B2fZRgBA2wj/](https://www.instagram.com/p/B2fZRgBA2wj/)’) print(response)

###### Get HD quality Profile Picture download link

response = bot.user\_dp(‘instagram’) print(response)

###### Get bio of a user

response = bot.user\_bio(‘instagram’) print(response)

###### Find the account is private or not

response = bot.private\_user(‘instagram’) print(response)

###### Find the account is verified or not

response = bot.verified\_user(‘instagram’) print(response)

###### Get external url of a username

response = bot.user\_external\_url(‘instagram’) print(response)

###### Find the user follows you or not

response = bot.follows\_me(‘instagram’) print(response)

###### Find you follow the user or not

response = bot.followed\_by\_me(‘instagram’) print(response)

###### Get video views count

response = bot.video\_views\_count(‘[https://www.instagram.com/p/B2XPNNvgApx/](https://www.instagram.com/p/B2XPNNvgApx/)’) print(response)

###### Get post type (video or picture)

response = bot.post\_type(‘[https://www.instagram.com/p/CH5qV6-so6Y/](https://www.instagram.com/p/CH5qV6-so6Y/)’) print(response)

###### Get exact time when the post was posted

response = bot.post\_time(‘[https://www.instagram.com/p/CH5qV6-so6Y/](https://www.instagram.com/p/CH5qV6-so6Y/)’) print(response)

### Proxy

Here is how to add proxy

#### Method For Authenticated Proxies

from myigbot import MyIGBot proxies = { ‘http’: ‘user:pass@host:port’, ‘https’: ‘user:pass@host:port’ } bot = MyIGBot(‘USERNAME’, ‘PASSWORD’, proxy=proxies)

#### Method For Non-Authenticated Proxies

from myigbot import MyIGBot proxies = { ‘http’: ‘host:port’, ‘https’: ‘host:port’, } bot = MyIGBot(‘USERNAME’, ‘PASSWORD’, proxy=proxies)

## License

[![OpenSource](https://camo.githubusercontent.com/f683f77072b78e3193d9edb5a7b3fbd0dd10b05cf2646aae7fffb0cb2f6cfa0b/68747470733a2f2f6f70656e736f757263652e6f72672f66696c65732f4f5349417070726f7665645f312e706e67)](https://camo.githubusercontent.com/f683f77072b78e3193d9edb5a7b3fbd0dd10b05cf2646aae7fffb0cb2f6cfa0b/68747470733a2f2f6f70656e736f757263652e6f72672f66696c65732f4f5349417070726f7665645f312e706e67) [![MIT](https://camo.githubusercontent.com/40910aedb8821e2fb960c54ac3d2bf54374a9bd969cd9c515c2cc09f80565358/68747470733a2f2f696d616765732d7769786d702d6564333061383662386334636138383737373335393463322e7769786d702e636f6d2f692f37313935653132312d656465642d343563662d396161622d3930396465656264383162322f64397572326c672d32383431306234372d353866642d346134382d396236372d3439633066353663363863652e706e67)](https://camo.githubusercontent.com/40910aedb8821e2fb960c54ac3d2bf54374a9bd969cd9c515c2cc09f80565358/68747470733a2f2f696d616765732d7769786d702d6564333061383662386334636138383737373335393463322e7769786d702e636f6d2f692f37313935653132312d656465642d343563662d396161622d3930396465656264383162322f64397572326c672d32383431306234372d353866642d346134382d396236372d3439633066353663363863652e706e67)

**Free Software, Hell Yeah!**

> **[GitHub - b31ngd3v/MyIGBot: MyIGBot is a Private API for Instagram to like,...](https://github.com/b31ngd3v/MyIGBot)**
>
> MyIGBot is a Private API for Instagram 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. It also supports proxy.
