2010:TwitterBot

From Marks Wiki
Jump to navigation Jump to search

Twitter Bot

https://kram.no-ip.com/svn/projects/kiwi_tweeter/

For fun, I decided to create a bot that randomly tweets bird noises such as 'cheep' 'tweet' 'quack' etc. It was suggested that I make the program tweet at sunrise/sunset (midday). I have looked for existing library's to calculate these times on a day by day basis, but I have found that many one far from accurate. It looks like its easiest to implement my own for the moment and I have an algorithm to implement or I could make use of some existing code I just need to convert.

I used Java and a twitter api-implemented jar http://www.winterwell.com/software/jtwitter.php.