Eastern Clock — a Twitter sculpture
This repository contains the code behind “Eastern Clock”, a Twitter-based sculpture by Jason McIntosh (email@example.com).
You can view the work here: @EasternClock.
Its heart is the Perl script
eastern_clock.pl. In practice, this is called once per minute as a crontask, which invokes it with more or less this syntax:
The referenced config file must contain four Twitter API keys and access tokens, as illustrated in the included file
This script requires Perl, as well as the following Perl modules, all of which may be easily had via CPAN:
You’ll also need a set of valid Twitter API keys and access tokens to plug into the config file. The script requires write-access to the account whose tokens you hand it.
A word of caution
Since the script deletes as many as 20 tweets from the account to which it has access every time it's run, you probably don't want to give it tokens for your personal Twitter account.
This software is copyright © 2014 by Jason McIntosh. Permission is hereby granted to copy or modify this software for your own use.