NAME
MojoX::Twitter - Simple Twitter Client
SYNOPSIS
use MojoX::Twitter;
my $twitter = MojoX::Twitter->new(
consumer_key => 'x',
consumer_secret => 'z',
access_token => '1-z',
access_token_secret => 'x',
);
my $users = $twitter->request('GET', 'users/show', { screen_name => 'support' });
## streaming
$twitter->streaming('https://userstream.twitter.com/1.1/user.json', { with => 'followings' }, sub {
my ($tweet) = @_;
say Dumper(\$tweet);
});
DESCRIPTION
MojoX::Twitter is a simple Twitter client:
without OAuth authentication
auto sleep when X-Rate-Limit-Remaining is 0
AUTHOR
Fayland Lam <fayland@gmail.com>
COPYRIGHT
Copyright 2016- Fayland Lam
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.