DEV Community

Cover image for Instagram bot written in python.
Raghav Khanna
Raghav Khanna

Posted on

Instagram bot written in python.

Instagram-bot

instagram bot written in python.
it will work on hashtags.

features

1) following section
2) Likes based on tags
3) Blacklist words function
4) Auto comment

## Usage

python bot.py

make changes in credentials

note- it uses firefox and selenium

if you use headless_browser=true then it will not open browser and work in background

Github Link

https://github.com/raghavkhanna30/instagram-bot

## Speed-up

if you increase speed it may lead to restriction by INSTAGRAM

## Like section

GIVE A STAR IF YOU LIKE THIS!!

## About

Find me on twitter @erraghavkhanna

or https://twitter.com/erRaghavKhanna

Discussion (3)

Collapse
j_mplourde profile image
Jean-Michel Plourde

So far, have you had any problem with Instragram because you browse their website with a bot? Facebook is notoriously not pleased with that kind of situation and they have a few tricks up their sleeves to counter those bots.

Collapse
erraghavkhanna profile image
Raghav Khanna Author

Yes, that only occurs when you increase the speed of the bot.
I don't think browser automation will be a issue to instagram

Collapse
chilotone profile image
Info Comment hidden by post author - thread only accessible via permalink
C D

You should mention that this is not a bot you wrote but a template for InstaPy github.com/timgrossmann/InstaPy
At least don't try to get the credit for work which isn't yours.

Some comments have been hidden by the post's author - find out more