Skip to content

Instantly share code, notes, and snippets.

@leachim6
Created August 9, 2008 13:29
Show Gist options
  • Save leachim6/4681 to your computer and use it in GitHub Desktop.
Save leachim6/4681 to your computer and use it in GitHub Desktop.
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