Created
August 9, 2008 13:29
-
-
Save leachim6/4681 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use WWW::Facebook::API; | |
use Data::Dumper; | |
my $client = WWW::Facebook::API->new( | |
desktop => 1, | |
api_key => 'api.key', | |
secret => 'api.secret', | |
); | |
$client->auth->get_session; | |
my $friends_perl = $client->friends->get; | |
print Dumper $friends_perl; | |
my $notifications_perl = $client->notifications->get; | |
print Dumper $notifications_perl; | |
my $quotes_perl = $client->users->get_info( | |
uids => $friends_perl, | |
fields => ['quotes'] | |
); | |
print Dumper $quotes_perl; | |
$client->auth->logout; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment