MojoX::Twitter - Simple Twitter Client
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); });
MojoX::Twitter is a simple Twitter client:
without OAuth authentication
auto sleep when X-Rate-Limit-Remaining is 0
Fayland Lam <fayland@gmail.com>
Copyright 2016- Fayland Lam
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install MojoX::Twitter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MojoX::Twitter
CPAN shell
perl -MCPAN -e shell install MojoX::Twitter
For more information on module installation, please visit the detailed CPAN module installation guide.