Friday, February 12, 2021

Instagram Auto Follow, Like and Comment BOT (Python)

 


How to make an Instagram Bot from Python.

In this method, we will be using python to make a bot. So if you don't have python installed on your pc, make sure to install it. Download link of python: http://bit.ly/2Z7VK6J. You can also use notepad for this method but I recommend you to use Sublime Text. Download link of sublime text: http://bit.ly/3tQyVT9. You also need to install the Firefox browser on your pc without it bot can't run. Download link of Firefox Browser: http://mzl.la/3b3aoRY.Now follow the steps:

1: Go to the sublime text and create a new file
    Now type the following code
Line-1:        from instapy import InstaPy 

 #headless_browser = True if you want to hide your browser

Line-3:        session = InstaPy(username = "your insta ", password = "your insta password", )
Line-4:        session.login()

                    #You can set max and min followers here

Line-6:        session.set_relationship_bounds(enabled = True, max_followers =                        200)

 #Percentage from 0 to 100. 100 if you want to follow everyone who gets your likes

Line-8:        session.set_do_follow(False, percentage=100)

#You will like posts with "bmw" and "steam" tags. If you set "amount = 3" 
#then you'll give 12 likes to "bmw" tag and 12 likes to "steam" tag

Line-9:        session.like_by_tags(["bmw", "steam", ], amount = 3)
Line-10:       session.set_dont_like(["nsfw"])
                                                                                            #session.unfollow_users(amount=6,allFollowing=True, sleep_delay=60)

Line-12:        session.end()


2: Now save the file as whatever name you like but the ending of your file should be ".py" Now run your command prompt and locate the folder in which you saved your bot file by simply  typing "cd ******" (*=your file path).

3: Now type python *****.py (*=your file name)

4: Then it's done now the bot will open the firefox browser and starts to do its         work itself

 Tips: For closing it you can simply click on the exit button it will stop the bot from running  

& Here is the sample if you're confused then:


 And done well if you encountered any problem make sure to comment. It is the simplest way to make an Instagram bot as per I know, If I get to know any other types of trick the I will sure upload.

    

Thanks!!


bm

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.

2 Comments

avatar
Admin Game Tunnerz Online
Welcome to Game Tunnerz theme
Chat with WhatsApp