Instagram plugin for elizaOS - Python implementation for Instagram integration
Project description
elizaOS Instagram Plugin (Python)
Instagram integration for elizaOS agents.
Features
- Instagram direct message handling
- Post and story interactions
- Comment management
- Media upload support
- User profile interactions
Installation
pip install elizaos-plugin-instagram
Configuration
The plugin requires the following environment variables:
INSTAGRAM_USERNAME(required): Your Instagram usernameINSTAGRAM_PASSWORD(required): Your Instagram passwordINSTAGRAM_VERIFICATION_CODE(optional): 2FA verification code if enabled
Usage
from elizaos_plugin_instagram import InstagramService, InstagramConfig
# Create configuration
config = InstagramConfig.from_env()
# Initialize service
service = InstagramService(config)
# Start the service
await service.start()
Event Types
The plugin emits the following event types:
INSTAGRAM_MESSAGE_RECEIVED- Direct message receivedINSTAGRAM_MESSAGE_SENT- Direct message sentINSTAGRAM_COMMENT_RECEIVED- Comment on post receivedINSTAGRAM_LIKE_RECEIVED- Like on post receivedINSTAGRAM_FOLLOW_RECEIVED- New follower
Development
# Install dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Type checking
mypy elizaos_plugin_instagram
# Linting
ruff check elizaos_plugin_instagram
ruff format elizaos_plugin_instagram
License
MIT
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 elizaos_plugin_instagram-2.0.0a4.tar.gz.
File metadata
- Download URL: elizaos_plugin_instagram-2.0.0a4.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5498401b09ddd96f584661ed5afe8e86ae13780ab190d2df8607a853837ce675
|
|
| MD5 |
37215d975435faf96a70c11bd7599d40
|
|
| BLAKE2b-256 |
ce78e66814700c2dde96ad79bca36b3894cb40d7d50670883f55fd46300f70a0
|
File details
Details for the file elizaos_plugin_instagram-2.0.0a4-py3-none-any.whl.
File metadata
- Download URL: elizaos_plugin_instagram-2.0.0a4-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
940c98357514c5195bd725d2a762be43ab5fc02f9742ad4b8275fc50d7344d2a
|
|
| MD5 |
3b30c0ad56d31b06c42daebef353e30e
|
|
| BLAKE2b-256 |
5b9e157ad4da55c9da6e662f4007ee82c2f753670f723bf38766e55bf0219a12
|