ultranerds has asked for the wisdom of the Perl Monks concerning the following question:
This kinda works - it at least connects. However, I can't for the life of me, work out how I'm supposed to extract the user details based on this key.sub twitter_login { my $in = $_[0]; use Net::Twitter; my $nt = Net::Twitter->new( traits => [qw/API::RESTv1_1/], consumer_key => 'xxxx', consumer_secret => 'xxx', access_token => $in->{token}, access_token_secret => $in->{token_secret}, ); my $foo = $nt->get_configuration(); print Dumper($foo); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Collect user_id from Net::Twitter, after login
by ww (Archbishop) on Jan 23, 2015 at 16:33 UTC |