GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
POE::Component::Server::Twirc(3) User Contributed Perl Documentation POE::Component::Server::Twirc(3)

POE::Component::Server::Twirc - Twitter/IRC gateway

    use POE::Component::Server::Twirc;
    POE::Component::Server::Twirc->new;
    POE::Kernel->run;

"POE::Component::Server::Twirc" provides an IRC/Twitter gateway. Twitter friends are added to a channel and messages they post on twitter appear as channel messages in IRC. The IRC interface supports several Twitter features, including posting status updates, following and un-following Twitter feeds, enabling and disabling mobile device notifications or retweets, sending direct messages, and querying information about specific Twitter users.

Friends who are also followers are given "voice" as a visual clue in IRC.

Spawns a POE component encapsulating the Twitter/IRC gateway.

Arguments:

(Optional) The name of the IRC server. Defaults to "twitter.irc".
(Optional) The port number the IRC server binds to. Defaults to 6667.
(Optional) The local address to bind to. Defaults to '127.0.0.1'.
(Optional) The IRC user/host mask used to restrict connecting users. Defaults to "*@127.0.0.1".
(Optional) Password used to authenticate to the IRC server.
(Optional) The name of the channel operator bot. Defaults to "tweeter". Select a name that does not conflict with friends, followers, or your own IRC nick.
(Optional) Text to be used as the channel operator bot's IRC full name.
(Optional) The name of the channel to use. Defaults to &twitter.
(Optional) How many favorites candidates to display for selection. Defaults to 3.
(Optional) When displaying tweets for selection, they will be truncated to this length. Defaults to 60.
(Optional) If specified, twirc will post log messages to this channel.
(Optional) File used to store state information between sessions, including last message read for replies, direct messages, and timelines.
(Optional) An array of plugin objects.

Commands are entered as public messages in the IRC channel in the form:

    command arg1 arg2 ... argn

Where the arguments, if any, depend upon the command.

Post a status update. E.g.,

    post Now cooking tweets with twirc!
    
Follow a new Twitter user, id. In Twitter parlance, this creates a friendship.
Stop following Twitter user id. In Twitter, parlance, this destroys a friendship.
Block Twitter user id.
Stop blocking Twitter user id.
Displays information about Twitter user id, including name, location, and description.
Turns mobile device notifications on or off for the list of screen_names.
Turns retweet display on your timeline on or off for the list of screen_names.
Mark a tweet as a favorite. Specify the user by screen_name and select from a list of recent tweets. Optionally, specify the number of tweets to display for selection with count (Defaults to 3.)
Displays the remaining number of API requests available in the current hour.
Re-tweet another user's status. Specify the user by screen_name and select from a list of recent tweets. Optionally, specify the number of tweets to display for selection with count (Defaults to 3.)
An alias for the "retweet" command.
Reply to another user's status. Specify the user by screen_name and select from a list of recent tweets. Optionally, specify the number of tweets to display for selection with -count (Defaults to 3.) Note that the count parameter is prefixed with a dash.
Report 1 or more screen names as spammers.
Add a user to one of your lists.
Add a user to one of your lists.
Display a simple help message
/msg id text
Sends a direct message to Twitter user id using an IRC private message.

App::Twirc

Marc Mims <marc@questright.com>

Adam Prime <adam.prime@utoronto.ca> (@adamprime) Peter Roberts <me+dev@peter-r.co.uk>

Copyright (c) 2008 Marc Mims

You may distribute this code and/or modify it under the same terms as Perl itself.

2015-03-31 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.