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.
Support
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
instadm-0.0.1.tar.gz
(14.4 kB
view details)
Built Distribution
instadm-0.0.1-py3-none-any.whl
(14.2 kB
view details)
File details
Details for the file instadm-0.0.1.tar.gz
.
File metadata
- Download URL: instadm-0.0.1.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac16fdece7b9b8f8e5ac262057baa8204911a2950b61541aa33cae5ca7f6ac3c |
|
MD5 | 6db9a02f467105cd8c421a40cedda99b |
|
BLAKE2b-256 | 957bd0d19b40f6d748497afbaf088438dc9357be26fd8cb0357c3535c07bc5d1 |
File details
Details for the file instadm-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: instadm-0.0.1-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a007e3403eb55611424c6984bb939f3048e819c76de81a29fcc284459a194b2 |
|
MD5 | 85e1158a76d5103f758b1b4129213d43 |
|
BLAKE2b-256 | fb1b5adab340eda1470c23101b9712d9b05399fa83c220b9d1fb268f33effd7f |