/blm-instagram-bot

Inform users clogging the #BlackLivesMatter tag on IG with solid images

Primary LanguagePython

this fork adds improvements to the solid image detection algorithm, the ability to "round robin" accounts, and moves the google cloud function dependency into the app so as not be reliant on Google services

blm-instagram-bot

Instagram bot that informs users using the BlackLivesMatter tag to post solid images that they may be accidentally hiding important information about the movement. Demonstration 1 Demonstration 2

Uses a Google Cloud Function called blm-cloud-function to determine if the image is a solid black image. This is to offload the image processing to the cloud and hopefully keep things running smooth.

Setup

You need Python 3 and pip. On Ubuntu: sudo apt install python3-dev python3-pip will get you there. You will use python3 and pip3 in place of pip and python, unless you override which the default is with your $PATH variable.

  1. Run pip install -r requirements.txt.
  2. Run python3 bot.py

To-Do

  1. Run this on many parallel threads so you can use more than 1 account simultaneously

Also make sure you're using Python 3.5 or greater