2010:TwitterBot

From Marks Wiki
Revision as of 05:04, 15 May 2010 by Mark (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.