oystr29 / caption-ig-bot

Instagram Caption Changer Bot 🤖

Home Page:https://www.instagram.com/p/C5td1SyJAf5/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instagram Caption Bot

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

Prerequisites

Make sure you have all of the depedencies.

Python

Install python first.

Instagrapi

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

Setup

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.

Run it

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)

About

Instagram Caption Changer Bot 🤖

https://www.instagram.com/p/C5td1SyJAf5/


Languages

Language:Python 100.0%