# Automate Instagram Messages using Instagram Auto DM

**URL:** <https://onehack.st/t/automate-instagram-messages-using-instagram-auto-dm/169715>\
**Category:** Tools & Scripts\
**Tags:** tools, social-media\
**Created:** [January 13, 2021, 2:16pm UTC](https://onehack.st/t/automate-instagram-messages-using-instagram-auto-dm/169715 "2021-01-13T14:16:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RoohNooh](https://onehack.st/user_avatar/onehack.st/roohnooh/32/166257_2.png) [@RoohNooh](https://onehack.st/u/RoohNooh)\
**Post date:** [January 13, 2021, 2:16pm UTC](https://onehack.st/t/automate-instagram-messages-using-instagram-auto-dm/169715/1 "2021-01-13T14:16:12Z")

</div>

# Instagram Auto DM

[![Auto DMer](https://camo.githubusercontent.com/4f757a9fed6c1b6893e95581a58705cd064f536b82d4758b4fdbd7266f8c38d9/68747470733a2f2f63646e2e7468656e6577737461636b2e696f2f6d656469612f323031372f30362f65616265623066322d66383937613935342d696e7374616772616d686561727473707974686f6e2e6a7067)](https://www.instagram.com/sinha.py/)

## Before Running `DMer.py`

- Open DMer.py File and Edit The Following Lines:

1. `username = 'USERNAME' # Enter your username here` [line:24]
2. `password = 'PASSWORD' # Enter your password here` [line:25]
3. `timee = "21:44" # Specific Time When The message will be send` [line:91]
4. `txt_box.send_keys(f"Hi @{usrnames} ! What's up ?") # Messege that you want to send` [line:53]
5. `usrnames = ['instagram', 'twitter'] # username whom you will send the message` [line:11]

Ensure that you have Chrome installed and the [`chromedriver`](https://chromedriver.chromium.org/downloads)that matches your Chrome version available on your `$PATH`. You may have to update this from time to time.

## Requirements

- [Python](https://www.python.org/)
- `python` on the PATH
- [The Requests Library](http://python-requests.org/) for Python: `pip install requests`
- Install Selenium:

pip install selenium

- Install Schedule:

pip install schedule

## Run

- Run the program using:

python DMer.py

> **[GitHub - b31ngd3v/instagram-auto-dm: Python Program To Send Automatic DMs](https://github.com/b31ngd3v/instagram-auto-dm)**
>
> Python Program To Send Automatic DMs
