Facebook - The try for a Facebook SDK in Perl
use Facebook;
my $fb = Facebook->new( app_id => $app_id, secret => $secret, );
use Facebook::Cookie;
my $fb = Facebook->new( cookie => Facebook::Cookie->new( app_id => $app_id, secret => $secret, cookie => $cookie_as_text, ), );
my $gettys_facebook_profile = $fb->graph->query ->find(100001153174797) ->include_metadata ->request ->as_hashref;
If you are new to Facebook application development in Perl please read Facebook::Manual!
This package reflects an instance for your application. Depending on what API of it you use, you require to install the needed distributions or provide alternative packages yourself.
-
Arguments: None
-
Return value: Object
If you want to use this, you need to install Facebook::Graph!
Returns an instance of the graph_class (by default this is Facebook::Graph)
-
Arguments: None
-
Return value: Object
If you want to use this, you need to install WWW::Facebook::API!
Returns an instance of the rest_class (by default this is WWW::Facebook::API)
IRC
Join #facebook on irc.perl.org.
Repository
http://github.com/Getty/p5-facebook Pull request and additional contributors are welcome
Issue Tracker
http://github.com/Getty/p5-facebook/issues
Torsten Raudssus torsten@raudssus.de (http://www.raudssus.de/)
Copyright (c) 2010 the Facebook L and L as listed on Facebook and all other packages in this distribution.
This library is free software and may be distributed under the same terms as perl itself.