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

NAME

Bot::BasicBot::Pluggable::Module::Twitter - Post message to twitter

SYNOPSIS

    $bot->load( "Twitter" );
    my $twi_handler = $bot->handler( "Twitter" );
    $twi_handler->set(
        {   username => "myusername",
            password => "mypassword",
        }
    );

DESCRIPTION

A plugin module for Bot::BasicBot::Pluggable to send message to a twitter account.

METHODS

init

help

    !help
    

will return a help message

said

    !twitter my message
    !twitter_all
    

will send to twitter your message will get the last 5 messages from the public timeline

set

    $twitter_handler->set(
        {   username => "myusername",
            password => "mypassword",
        }
    );
    

will set the username and the password for the bot.

BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests to bug-bot-basicbot-pluggable-module-twitter@rt.cpan.org, or through the web interface at http://rt.cpan.org.

AUTHOR

franck cuny <franck.cuny@gmail.com>

LICENCE AND COPYRIGHT

Copyright (c) 2007, franck cuny <franck.cuny@gmail.com>. All rights reserved.

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