baronalloway / richterledge

UM Richter Twitter AutoReply Bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twitter Python Auto-response Bot

My University publishes a list of some public webcams. I was bored on a Sunday afternoon and decided to build a little robot that would respond to tweets with a picture of the webcam.

In other words, its a tribute to http://www.twitter.com/window301

This is a twitter auto-response bot. The bot waits for a mention, then grabs the current image from a webcam on campus. It replies with the image and a random phrase.

CREDITS

To Run

The finished script is inside twitter-autoresponder.py. The only thing you will need is to get your own API keys for twitter, by becoming a developer and registering the app yourself. Then, fill out the .twitter file accordingly with your respective API keys.

Proof

screen-shot-of-proof

Changelog:

  • The original script used to use eliza to make responses, but that just didn't work well. Now, it just pulls a random phrase from an array.

License

Do whatever you want. I hacked this puppy together in 45 minutes.

About

UM Richter Twitter AutoReply Bot


Languages

Language:Python 100.0%