MCPcopy Index your code
hub / github.com/CamTosh/instagram-bot-dm

github.com/CamTosh/instagram-bot-dm @v.0.0.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v.0.0.3 ↗ · + Follow
16 symbols 68 edges 3 files 4 documented · 25%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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 🍺

Core symbols most depended-on inside this repo

Shape

Method 15
Class 1

Languages

Python100%

Modules by API surface

instadm.py16 symbols

For agents

$ claude mcp add instagram-bot-dm \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page