This is an instagram caption bot that let you to change your caption to display your current *like count, and play count. Mostly inspired by Tom Scoot and Bed Awwad
Make sure you have all of the depedencies.
Install python first.
This is the core library of this program. It lets you to send a request and get a response from instagram private api.
Install it using pip. Also install pillow and python-dotenv cuz we also need that.
pip install instagrapi pillow python-dotenv
First clone this repo.
git clone https://github.com/oystr29/caption-ig-bot
cd caption-ig-bot
Make all neccessary files.
cp .env.example .env
cp app.example.log app.log
cp session.example.json session.json
You can ignore app.log
and session.json
, but you must fill all the variables in .env
IG_USERNAME=''
IG_PASSWORD=''
TELE_TOKEN=""
TELE_CHAT_ID=""
You need to make a telegram bot to send a notification if the program crash.
Simply call python with the filename
python main.py
or if you wanna run it on the background (also work on server)
python main & # Only work on unix system (not windows)