The Instagram Metrics Bot is a Python-based Telegram bot designed to interact with Instagram through Instaloader. It allows users to log in to their Instagram account, view followers, users not following back, and followers not followed back. The bot provides a seamless interface using Telegram's interactive buttons for navigation and language selection.
- Login to Instagram and handle 2FA authentication.
- View followers, users not following back, and followers not followed back.
- Change bot interface language (English, Español, Deutsch, 日本語).
- Clone the Repository
- Configure .env File
- Install Dependencies
- Running the Bot
- The bot initializes with the /start command in Telegram.
- Requires a Telegram API token (
TELEGRAM_TOKEN
) and Instagram credentials in a .env file.
- Users provide Instagram credentials and handle 2FA if required.
- Retrieves follower information and displays them using Telegram's inline buttons.
- Users can select from supported languages: English, Español, Deutsch, 日本語.
- Language selection persists throughout the session.
bash git clone https://github.com/netto14cr/Instagram_Telegram_Bot_04.git cd Instagram_Telegram_Bot_04
- Create a .env file in the project root directory.
- Add your Telegram API token and Instagram credentials.
env TELEGRAM_TOKEN=your_telegram_token_here
bash python -m venv env source env/bin/activate # For Linux/Mac .\env\Scripts\activate # For Windows pip install -r requirements.txt
py instagram_metrics_bot.py
- Initiate the bot by sending the /start command in Telegram.
- Follow prompts to enter Instagram username and password.
- Handle 2FA authentication if required.
- Navigate using inline buttons to view followers, users not following back, and followers not followed back.
This bot is for educational purposes and uses Instaloader to interact with Instagram via Telegram.