YoCongress!

This labor day weekend I wrote a twitter bot that forwards your tweet on to the representative in the US House that corresponds to your location. It’s never been easier to complain to the government! So, for example, if you write this tweet in Chicago:

yoCongressOriginalTweet

The bot will tweet this:

yoCongressForwardTweet

I need testers! Please pick your favorite issue and give it a whirl, remember to enable location on your tweet by clicking / pushing the pin icon. Note that it takes up to a minute to forward your tweet on (due to twitter API rate limitations), and that it only forwards original tweets or replies, not retweets.

Also, I have had some trouble with twitter flagging the account as spam in some brutal bot vs bot action, but I’ve made changes to my bot that should avoid that in the future. Hopefully.

If you are interested in the code (<200 lines!), check it out on github here.

MEMBERS OF CONGRESS CAN OPT OUT BY TWEETING TO @YOCONGRESS WITH HASHTAG #OPTOUT.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s