Kazuhiro Osawa > AnySan-0.08 > AnySan::Provider::Twitter

Download:
AnySan-0.08.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: AnySan-0.10

NAME ^

AnySan::Provider::Twitter - AnySan provide Twitter

SYNOPSIS ^

  use AnySan;
  use AnySan::Provider::Twitter;

  my $twitter = twitter
      key      => 'example1', # you can write, unique key *required

      # AnyEvent::Twitter::Stream's options
      consumer_key     => 'twitter consumer_key', # *required
      consumer_secret  => 'twitter consumer_secret', # *required
      token            => 'twitter token', # *required
      token_secret     => 'twitter token_secret', # *required

      method           => 'filter', # default is 'userstream' *required
      track            => 'keyword',
      follow           => '....',
      locations        => '....',
      timeout          => $timeout,
  ;

  $irc->send_message('twitter message');
  $irc->send_message('twitter message', %AnyEvent_Twitter_requires_options);

AUTHOR ^

Kazuhiro Osawa <yappo <at> shibuya <döt> pl>

SEE ALSO ^

AnySan, AnyEvent::Twitter, AnyEvent::Twitter::Stream

LICENSE ^

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

syntax highlighting: