Python scripts that make my life easier on instagram.
Automated meme page. Needs a folder to store memes, with 3 subfolders: CB, BB, WB CB: Sets the background to the most common color in the image WB: Sets the background to white BB: Sets the background to black It resizes the images in case they are not squared and gives them a background depending on which folder the meme is in. Must have another python script in the same folder with the name backopyConfig.py with the following: USERNAME = "user_name" PASSWORD = "password"
Feel free to adapt this script to automate your own page.
Logs in to an instagram account and gets a list of the followers
Logs in to an instagram account and gets a list of the users this account is following
Uses previous 2 scripts and starts unfollowing users who are not in both lists (users who you follow but don't follow you back). This script is great for promotion in an instagram account, since you can follow large quantities of users, then only unfollow the ones who didn't follow back, keeping your account's follower ration clean. This script has a timer and a limit to avoid instagram classifying it as a bot. It waits a random amount of seconds (6 - 15 if unfollow is successful, 30 - 300 if something went south). After it reaches the limit the program stops.