Pre-release
This release is a pre-release and may not be stable for production use.
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
Metadata
Release files for elizaos-plugin-instagram 2.0.0a5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| elizaos_plugin_instagram-2.0.0a5.tar.gz | 8.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| elizaos_plugin_instagram-2.0.0a5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.3 kB
Release files / elizaos_plugin_instagram-2.0.0a5.tar.gz
| Download URL | elizaos_plugin_instagram-2.0.0a5.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2a745cff76aab9359094f7970d20559301a00ebd6b748bae56735c33857f734
|
|
BLAKE2b-256 checksum How to use checksums |
d9d3e2e0db2c1fbd4f69c3b5d7ad9ced0169c37aa74ec3bf8223920d3dc8c49c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / elizaos_plugin_instagram-2.0.0a5-py3-none-any.whl
| Download URL | elizaos_plugin_instagram-2.0.0a5-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
265b3942ae655959fce8f8c7355609842b33cd8f2560ebdddc7ab41d519c8b99
|
|
BLAKE2b-256 checksum How to use checksums |
4b4d7cca7b798f2ec60b6c96b9cbf70f083b91028d8d3b8520cb9a6c9ce689b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|