Last active
December 6, 2017 09:08
-
-
Save iamukasa/a1ae30f39191fdf545283c8406c2ffda to your computer and use it in GitHub Desktop.
Twitter bot to troll CS Joe Mucheru to stop pushing the ICT Practitioners Bill 2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
consumer_key = ' ' | |
consumer_secret = ' ' | |
access_token = ' ' | |
access_token_secret = ' ' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tweepy | |
from time import sleep | |
from credentials import * | |
# Access and authorize our Twitter credentials from credentials.py | |
auth = tweepy.OAuthHandler(consumer_key, consumer_secret) | |
auth.set_access_token(access_token, access_token_secret) | |
api = tweepy.API(auth) | |
output="@mucheru WTF!!!WTF WTF!!!!!!!!!! WE KILLED THIS!!! YOU EVEN DISOWNED THIS #killtheICTbill #ICTPractitionersBIL$ | |
i=1000000 | |
while i>0: | |
s=output+str(i) | |
api.update_status (s) | |
sleep(20) | |
i-=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment