Skip to content

Automatically unfollow accounts that don't follow you back on Instagram with Selenium Python.

Notifications You must be signed in to change notification settings

ritakalach/ig-unfollow-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 

Repository files navigation

Instagram Unfollow Tool

Automatically unfollow accounts that don't follow you back on Instagram with Selenium Python.

Motivation

I have an Instagram account for my goose and duck photos 🦆. When another birder follows me, I feel that I must follow them back (supporting other birdwatchers and homesteaders feels like the right thing to do). But some of these accounts are run by bots. They follow me, I follow them back, and then they unfollow me. It's not a huge problem, but I don't really like having a lengthy Instagram feed filled with content by users who don't interact with their followers. That's why I developed a tool to unfollow accounts that don't follow me back. As a result, I'm only following people who interact with my content and I interact with theirs. It makes me feel like I'm part of a little birdwatching community (yes, I know how dorky that sounds and my real-life friends tease me about it all the time).

Running the code

You must have Python 3 and Selenium installed on your computer. I used Firefox as my chosen browser, which also requires geckodriver.

  1. Download ig_unfollow_tool.py
  2. Update lines 179-180 with your account credentials
  3. Run python3 ig_unfollow_tool.py in the terminal

Here's what you'll see on screen as the code runs:

What you'll see in the terminal:

About

Automatically unfollow accounts that don't follow you back on Instagram with Selenium Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages