WWW::Facebook::API

WWW::Facebook::API is a Facebook API implementation.
Download

WWW::Facebook::API Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • David Romano
  • Publisher web site:
  • http://search.cpan.org/~unobe/WWW-Facebook-API-v0.4.7/lib/WWW/Facebook/API/Profile.pm

WWW::Facebook::API Tags


WWW::Facebook::API Description

WWW::Facebook::API is a Facebook API implementation. WWW::Facebook::API is a Facebook API implementation.SYNOPSIS use WWW::Facebook::API; my $client = WWW::Facebook::API->new( desktop => 1, throw_errors => 1, parse => 1, ); print "Enter your public API key: "; chomp( my $val = < STDIN > ); $client->api_key($val); print "Enter your API secret: "; chomp($val = < STDIN > ); $client->secret($val); print "Enter your e-mail address: "; chomp(my $email = < STDIN > ); $client->secret($val); print "Enter your password: "; chomp(my $pass = < STDIN > ); my $token = $client->auth->login( email => $email, pass => $pass ); $client->auth->get_session( $token ); use Data::Dumper; my $friends_perl = $client->friends->get; print Dumper $friends_perl; my $notifications_perl = $client->notifications->get; print Dumper $notifications_perl; # Current user's quotes my $quotes_perl = $client->users->get_info( uids => $friends_perl, fields => ); print Dumper $quotes_perl; $client->auth->logout;A Perl implementation of the Facebook API, working off of the canonical Java and PHP implementations. By default it uses JSON::Any to parse the response returned by Facebook's server. There is an option to return the raw response in either XML or JSON (See the parse method below). Requirements: · Perl


WWW::Facebook::API Related Software