Skip to content

Instagram bot with pyautogui to spam username comments on a given post.

License

Notifications You must be signed in to change notification settings

exploit-inters/instagram-spammer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagram Spammer Bot

This script was developed to spam comments with usernames on that boring giveaways that often happen on Instagram platform. (i.e.: Comment the name of a friend to compete to a product).

It uses mainly pyautogui to simulate a person refreshing, clicking and typing in the comment section, in this way, the instagram won't detect that's a bot and you can be 24/7 spawning usernames or whatever you're up to.

Instructions

Dependencies

This script was made using python3, in order to install all dependencies, please run:

pip install -r requirements.txt

System dependencies

Appears that pyautogui module cannot support Wayland yet, so i strongly recommend to use this script on a unix/linux env with XORG support.

How to use

First, you will need to generate a list with all the usernames you want to spawn. It only needs to be on .csv format, stay inside the ./assets folder and have a column named username. To generate mine, i had used a plugin called Helper Tools for Instagram (for Chrome).

To use this script:

  1. Open a Instagram post page that you will spam, on your favorite browser (tested on chrome and chromium) and put aside.
  2. Open the terminal on the project folder and run python3 spam.py.
  3. The script will wait a key to be pressed, when waiting, you will move the mouse to the click position (where you can type, i.e.: comment section) without clicking and press Enter key on the terminal window, then, the script will save the current mouse (x, y) positions to replicate while the script runs.
  4. The script will read the .csv files and start to spam. (PS: Recommended to use this script on a VM, because you are not recommended to use the computer while the script is running!).

Considerations

  • The script uses a random interval number generation on the range [TIME_TO_SLEEP - 5, TIME_TO_SLEEP + 5), where TIME_TO_SLEEP it's a global variable inside spam.py that you can tweak if needed.
  • The script always does: Get username, type username and hit Enter key, hit f5 key to reload the page. This is needed because instagram normally blocks text input on comment section after some comments.

Authorship

Script developed by FelipeCRamos, with MIT License, without using anything from Instagram API.

Not optimized at all, made in 15 minutes just to place a whole lot of comments on a giveaway page.

About

Instagram bot with pyautogui to spam username comments on a given post.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages