AnyEvent::FriendFeed::Realtime - Subscribe to FriendFeed Real-time API
use AnyEvent::FriendFeed::Realtime; my $client = AnyEvent::FriendFeed::Realtime->new( username => $user, # optional remote_key => $remote_key, # optional: https://friendfeed.com/account/api request => "/feed/home", # or "/feed/NICKNAME/friends", "/search?q=friendfeed" on_entry => sub { my $entry = shift; # See http://friendfeed.com/api/documentation for the data structure }, );
AnyEvent::FriendFeed::Realtime is an AnyEvent consumer that subscribes to FriendFeed Real-time API via JSON long-poll.
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AnyEvent::HTTP, AnyEvent::Twitter::Stream, http://friendfeed.com/api/documentation
To install AnyEvent::FriendFeed::Realtime, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AnyEvent::FriendFeed::Realtime
CPAN shell
perl -MCPAN -e shell install AnyEvent::FriendFeed::Realtime
For more information on module installation, please visit the detailed CPAN module installation guide.