You’re closer than you think to a career in tech. Our grads have launched rewarding new careers — you can too.View Our Jobs Report
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.
Blog Post Author
Since we opened our doors in 2012, thousands of students have joined Flatiron School to launch new careers in tech.
Find the perfect course for you across our in-person and online programs designed to power your career change.
Connect with students and staff at meetups, lectures, and demos – on campus and online.
Have a question about our programs? Our admissions team is here to help.