Skip to main content

A python library to unfollow user on twitter automatically.

Project description

Twitter-Auto-Unfollow-Bot is a python library to unfollow user on twitter using browser automation. It currently runs only on windows.


In this example we first import library, then we login with cookies and then unfollow a user.

from twitter_auto_unfollow_bot import *
    "domain": "",
    "expirationDate": 1676520136,
    "hostOnly": false,
    "httpOnly": false,
    "name": "_ga",
    "path": "/",
    "sameSite": "unspecified",
    "secure": false,
    "session": false,
    "storeId": "0",
    "value": "GA1.2.1110230825266.1610349768",
    "id": 1
#please replace the above sample cookies with your cookies, can see below link of how to fetch cookies

This module depends on the following python modules


bot_studio is needed for browser automation. As soon as this library is imported in code, automated browser will open up. Complete documentation for Twitter Automation available here


pip install twitter-auto-unfollow-bot


from twitter_auto_unfollow_bot import *

Login with credentials

twitter.login(username="twitter username",password="twitter password")

Login with cookies


Unfollow user

twitter.unfollow(profile_url='profile link of user')

Send Feedback to Developers

bot_studio.send_feedback(feedback="Need help with this ......")


To login with cookies Edit this Cookie Extension can be added to browser. Please check this link how to get cookies to login to your twitter.

Contact Us

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

twitter-auto-unfollow-bot-1.0.0.tar.gz (2.7 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