* mikesouthern <gb1...@cox.net> [100904 19:59]: > I had a really simple perl net::twitter script that ran as a cron job > off my laptop. All it did was, for each scheduled run, read a single > line of information from a txt file, then tweet the line to any one of > three twitter accounts.
Copied from an earlier reply, here: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/160cb4d3f20ef61 For perl devs, the move to OAuth is really quite easy, especially for automated scripts. Register an application at http://dev.twitter.com. Grab the consumer key and secret, and the access token and secret. use Net::Twitter; my $nt = Net::Twitter->new( traits => [qw/OAuth API::REST/], consumer_key => $YOUR_CONSUMER_KEY, consumer_secret => $YOUR_CONSUMER_SECRET, access_token => $YOUR_ACCESS_TOKEN, access_token_secret => $YOUR_ACCESS_SECRET, ); $nt->update("Bob's your uncle!"); Need help? Just drop by #net-twitter at irc.perl.org. -Marc -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en