semifor / net-twitter-lite

A lighter weight (non-Moose) Perl interface to the Twitter API
Other
26 stars 11 forks source link

How to get [name] #2

Closed ibnu82 closed 14 years ago

ibnu82 commented 14 years ago

I want to ask,,how to get [name] => from twitter.. like this example: http://apiwiki.twitter.com/Twitter-API-Documentation http://twitteroauth.labs.poseurtech.com/index.php

thanks

semifor commented 14 years ago

After OAuth authentication is complete, you can call verify_credentials using the user's access tokens.

my $user = $nt->verify_credentials;
my $name = $user->{name};
ibnu82 commented 14 years ago

it works.. thanks for your help semifor..

ibnu82 commented 14 years ago

case closed. thanks