Instagram bot to send direct messages
Project description
Instagram Direct Message Bot
Send direct and group message with Instagram bot. Work with Python 3.7.2 and Selenium.
Example :
from instadm import InstaDM
if __name__ == '__main__':
# Auto login
insta = InstaDM(username='your_username', password='your_password', headless=False)
# Send message
insta.sendMessage(user='username_target', message='Hey !')
# Send message
insta.sendGroupMessage(users=['user1', 'user2'], message='Hey !')
Work's with InstaPY
Use instapy_workspace param on constructor:
from instadm import InstaDM
if __name__ == '__main__':
# Auto login
insta = InstaDM(
username='your_username',
password='your_password',
headless=False,
instapy_workspace='workspace/'
)
InstaDM create table message if not exists.
CREATE TABLE "message" (
"username" TEXT NOT NULL UNIQUE,
"message" TEXT DEFAULT NULL,
"sent_message_at" TIMESTAMP
);
Work's with InstaPY Dashboard
InstaDM works with an modified version of InstaPy Dashboard.
InstaPy Dashboard is an Open Source project developed by @converge to visualize Instagram accounts progress and real-time InstaPy logs on the browser.
Buy me a 🍺
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file instadm-0.0.2.tar.gz.
File metadata
- Download URL: instadm-0.0.2.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
325ab5f06fd7d5f2cb37a23f015738dd8185c5f3f8771091b4e933d76d26c600
|
|
| MD5 |
23270180d44b1828d6e9fab67148b7f0
|
|
| BLAKE2b-256 |
42ffe436ba202f17d4edf421063d1958443d35edd4751ab0c15988f1f9f030e1
|
File details
Details for the file instadm-0.0.2-py3-none-any.whl.
File metadata
- Download URL: instadm-0.0.2-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
954b7d9d93485c1bd277d144ca6e6c3f87bc6ff937415109a9c4dec6f1f31888
|
|
| MD5 |
7d642477d245ec299e585ec51a3ddca9
|
|
| BLAKE2b-256 |
b165d65e04c51f7f10facf1e599078e1d00dc906960db57f9a315431e15b9600
|