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


Bot-BasicBot-Pluggable-Module-Twitter documentation  | view source Contained in the Bot-BasicBot-Pluggable-Module-Twitter distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

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

Top

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

Top

franck cuny <franck.cuny@gmail.com>

LICENCE AND COPYRIGHT

Top


Bot-BasicBot-Pluggable-Module-Twitter documentation  | view source Contained in the Bot-BasicBot-Pluggable-Module-Twitter distribution.