Skip to main content

Instagram bot scripts for promotion and API python wrapper.

Project description


| Website | Read the Docs | Contribute |

PyPI version Telegram Chat Build Status Python 2.7, 3.5, 3.6, 3.7


Instabotai is an instagram bot with face detection that uses the undocumented Web API. Instabotai can reupload photo to feed, reupload photo to stories, watch stories, comment, like and DM users if a face is detected on image. Unlike other bots, Instabotai does not require Selenium or a WebDriver. Instead, it interacts with the API over simple HTTP Requests. It runs on most systems.



  • Python 3.6+
  • Min 20-30 Profiles to scrape or it will repost same image when no new image is posted in list.

Installation with PIP

Install instabotai with:

pip install -U instabotai

Run instabotai with:

instabotai -u yourusername -p password -l josephineskriver,wolfiecindy -t "#like4like#follow4follow"

Installation with Docker

docker pull reliefs/instabotai

docker run reliefs/instabotai -u username -p password -l josephineskriver,wolfiecindy -t "#tag1#tag2"

Face detection at work on a live webcam


This script scrapes images from users and then repost, like and comment their images if face is detected with your own tags.

To install script on Windows:

Install Cmake

download link :

Install Dblib

Download dlib ‘.wheel’ file as ur system requirnment (use link bellow) download link :

Open cmd navigate to dlib wheel file path and hit command
pip install dlib_file_name.wheel

Then run

git clone --recursive
cd instabotai/
pip install -r requirements.txt
python -u yourusername -p password -l josephineskriver,wolfiecindy -t "#like4like#follow4follow"

And press Enter.

To install script on Linux:

apt-get install python-dev python3-dev
sudo apt install g++
sudo apt install cmake
sudo apt install python3-pip

Arch Linux:
sudo pacman -S cmake
sudo pacman -S python3-pip

First, make sure you have dlib already installed with Python bindings:

Then do

git clone

cd instabotai

sudo pip install -r requirements.txt

python -u yourusername -p password -l josephineskriver,wolfiecindy -t "#like4like#follow4follow"


If you are getting Illegal Instruction with face_recognition follow this guide:

AttributeError: 'module' object has no attribute 'face_recognition_model_v1'

Solution: The version of dlib you have installed is too old. You need version 19.7 or newer. Upgrade dlib.

For Dlib install error run

python3 install --no DLIB_USE_CUDA

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

instabotai-1.0.44.tar.gz (7.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page