Project for Chaim/Zack
DEBIAN
apt-get install libevent-dev python-dev tmux
pip install twython gevent irc flask redis greenclock TwitterAPI
I use twython for tweeting / getitng events and TwitterAPI was best for getting twitter streams
tmux
python birdie.py
python twitter_app.py
- Register for Google Voice and get a number
- Use ToR Browser and navigate to both www.fakenamegenerator.com and www.twitter.com
- Generate a female/male name, and activate the e-mail address they give you
- Sign up for twitter using the full name, e-mail address
- Activate the account
- Go to www.tumblr.com, search 'selfie' and grab an attractive looking one for your bot
- Upload to Twitter while following creation steps
- Tweet a couple times and add a few more pictures related to the picture you pulled from tumblr
- Verify your mobile phone through twitter options -- use the Google Voice phone number to text
- Once verified, go to www.dev.twitter.com and create your app. Make sure to assign all permissions to read, write execute (full)
- Done! Run the flask app (twitter_app.py), and edit the callback IP to some VPS
- Once running, follow steps 2-8 and add/authorize the app through your new bots
- Once you have enough, add an irc server in the csv, format is: irc=server:port,#channel,botname
- Success!
Connect to channel and type these commands out:
?botlist -> shows current twitter profiles connected to that bot
?shorten url -> Replace URL with the URL you want to shorten, returns shortened url
?gettrends -> returns current global top 10 trends
?tweet botname msg -> Replace botname with bot that the app owns and msg with the message you want to tweet
?campaign all url -> Posts a campaign to ALL the bots that the app owns, and shortens URL given
?campaign botname url -> Posts a campaign to only botname, shortens URL given
?tweettimes botname -> Posts tweettimes for bot botname on that specific day
A campaign is when an app takes 1 or all of its bots and retrieves that current time's top 10 trends. It then generates a shortened URL for each bot, and then posts a tweet according with that hashtag from the top 10 trends. It then waits a pseudo-random time to tweet again. This is all done asynchronously so bots do not need to depend on each other.
Hashtag hijacking
Mongo integration
Retweet storms