Fun with Twitterbots!
First things first, twitter is actually pretty smart at catching bots.
So sometime last week a friend asked me to to help her make a twitter bot that would help win a contest by the number of “#” tag references to a particular subject. I don’t to blow up her spot so lets just say the hash tag reference was to #riggingthevote.
Here the the code I used to do that
First things first, twitter is actually pretty smart at catching bots. I actually got a dummy account suspended because I made too many references in a row to the same hash tag in a too short period of a time.
Also, if you post too often you’ll reach your “daily limit” so one should be patient. Anything under 15 seconds will get you booted.
Get a dummy twitter account.
goto https://dev.twitter.com/ and get a development account. Make sure to apply for a consumer key and authorization tokens
Modify and then run the code above and run the script. Make sure to include your own text file that gabbler can go through. Half the fun is how nonsensical random sentences are when taking out of context.
Disclaimer: The information in this blog is current as of 16 July 2013. Current policies, offerings, procedures, and programs may differ. For up-to-date information visit FlatironSchool.com.
Posted by Flatiron School / July 16, 2013
Learn to Code Python: Free Lesson for Beginners
Flatiron School Welcomes Peter Barth as CEO
“As we navigate a dynamic and complex tech talent landscape, Flatiron School’s mission – to enable the pursuit of a better life through education – is more vital than ever.”