The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Tweet - tweet on twitter from the command line

SYNOPSIS

  use App::Tweet;
  
  App::Tweet->run('tell this to twitter');
  
  App::Tweet->reconfigure;

DESCRIPTION

App::Tweet is a simple wrapper around Net::Twitter that allows for you to easily send messages (tweets) to twitter.com as a specific user. You should use the 'tweet' command to interface with this module.

The first time you run the application it will prompt you for a user name and password. This information is stored in a configuration file in your system's application data store. The password is stored in a somewhat encrypted state, but the cipher key for the encryption is stored right beside the configuration file, so it's not super-security. The permissions on the file are set to read/write only by the file owner, but that is only relevant on some systems.

If you ever need to reset or change the username or password perminantely, you can use the reconfigure method. If the change is just temporary, pass in the new username and password when running the application.

METHODS

run( message => 'x', [ username => 'x', password => 'x' ] )

Runs the application and attempts to send a message to twitter using a configured username and password or the one provided as an argument to this command.

reconfigure

Forces re-prompting for the stored username and password.

AUTHOR

Josh McAdams, <josh dot mcadams at gmail dot com>

BUGS

Please report any bugs or feature requests to bug-file-mover at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-Tweet. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc App::Tweet

You can also look for information at:

COPYRIGHT & LICENSE

Copyright 2008 Josh McAdams, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.