NAME
Facebook - The try for a Facebook SDK in Perl
SYNOPSIS
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,
),
);
# You need to have Facebook::Graph installed so that this works
my $gettys_facebook_profile = $fb->graph->query
->find(100001153174797)
->include_metadata
->request
->as_hashref;
DESCRIPTION
If you are totally new to facebook application development 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.
METHODS
$obj->graph
- 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)
$obj->rest
- 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)
LIMITATIONS
TROUBLESHOOTING
SUPPORT
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
AUTHOR
Torsten Raudssus <torsten@raudssus.de> http://www.raudssus.de/
CONTRIBUTORS
COPYRIGHT
Copyright (c) 2010 the Facebook "AUTHOR" and "CONTRIBUTORS" as listed on Facebook and all other packages in this distribution.
LICENSE
This library is free software and may be distributed under the same terms as perl itself.