Awesome Open Source
Awesome Open Source


Coded by: @holps-7

Give me the credits if you copy ANY part from this code. Don't be NOOB!!

Star this repo if you liked the project!

A simple script that can be used for spamming someones Instagram DM with random jokes and quotes

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


You will need the following for running this script-

1)Python3 installed in your system
2)Firefox web browser with Firefox webdriver

Installation Instructions

1) Installing Python3

Visit the following url for details on how to install Python 3 for various Operating systems

2) Installing Firefox

sudo apt-get -y install firefox
tar xzf geckodriver-v0.26.0-linux64.tar.gz
sudo mv geckodriver /usr/bin/geckodriver
For Windows:
  1. Install Firefox
  2. Download -> 32bit - geckodriver, 64bit - geckodriver - Download the zip folder and extract it
  3. Add the file present in the extracted folder to the path

To add the file to path, paste it here (at this location) ->
C: -> Users -> <name_of_your_pc> -> AppData -> Local -> Programs -> Python -> Python<version_>

3) Installing pip3

apt install python3-pip

4) Installing Selenium and Requests

pip3 install selenium
pip3 install requests


pip3 install -r requirements.txt

Break down into end to end tests

This project is not any kind of extention of any other project


  1. Clone the project
  2. Follow the installation instructions
  3. Open file in any text editor
  4. Now, in line 73 replace the following with your credentials, victim's username and number of messages to be send
('<Username>', '<Password>', '<victim_username>', <Number of messages to be spammed>)
  1. Save the file
  2. Open terminal and run the following command
cd Downloads/Instagram-Spam-Bot-master
PS:- I used Atom editor, which is one of the greatest editors.
     Availabe for free on


Feel free to create Pull Requests, for contributing.


  • Ramesh Sachan - Vellore Institute of Technology


This project is licensed under the MIT License - see the file for details

Legal disclaimer:

Usage of Instagram-Spam-Bot for attacking targets without prior mutual consent is illegal. It's the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program. Only use for educational purposes.

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Python (1,120,145
Hacktoberfest (37,782
Bot (12,065
Automation (6,783
Hacktoberfest2021 (4,959
Script (3,851
Selenium (3,004
Instagram (2,063
Selenium Webdriver (1,070
Selenium Python (449
Spam (330
Instagram Bot (253
Related Projects