NAME

Facebook - The try for a Facebook SDK in Perl

VERSION

version 0.008

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 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.

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)

METHODS

LIMITATIONS

TROUBLESHOOTING

AUTHOR

Torsten Raudssus <torsten@raudssus.de> http://www.raudssus.de/

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Raudssus Social Software & Facebook Distribution Authors.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.