Skip to content

Instantly share code, notes, and snippets.

@grcninja
grcninja / twitter-block-user.py
Last active October 11, 2021 14:48 — forked from 00101010b/twitter-block-user.py
Simple script to block annoying twitter spammers. Requires twitter API codes.
#!/usr/bin/env python
#Python3.4.3 compatable
#All the credit for this goes to the original author 00101010b.
#I just added a for loop and list of possible account names.
# Import TwitterAPI
# you can install this library via the commandline:
# $ pip install --user TwitterAPI
from TwitterAPI import TwitterAPI