NAME
AnyEvent::FriendFeed::Realtime - Subscribe to FriendFeed Real-time API
SYNOPSIS
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_update => sub {
my $entry = shift;
# See http://friendfeed.com/api/documentation for the data structure
},
);
DESCRIPTION
AnyEvent::FriendFeed::Realtime is an AnyEvent consumer that subscribes to FriendFeed Real-time API via JSON long-poll.
AUTHOR
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
AnyEvent::HTTP, AnyEvent::Twitter::Stream, http://friendfeed.com/api/documentation