WWW-Facebook-API reviews

cpanratings
 

RSS | Module Info | Add a review of WWW-Facebook-API

WWW-Facebook-API (0.4.18) *****

Not just a review, but a comment for those thinking this Module is dead. You can STILL use it with facebook with no problems. You simply need to:

my $auth = eval {

WWW::Facebook::API->new(

desktop => 0,

server_uri => 'api.facebook.com/restserver.php?acces... . $session->{access_token},

server_uri needs a modified version of restserver.php where you need to pass the access_token you obtain from the OAuth2 dance by parsing the signed_request.

Provided for reference.

sub parse_signed_request {
# ----------------------------------------------------
#

my ($expected_sig,$decoded_payload,$json,$sig,$encoded_sig,$payload,$data,$signed_request);

$signed_request = shift;

$json = JSON::XS->new->ascii->pretty->allow_nonref;

($encoded_sig, $payload) = split(/\./,$signed_request,2);

# Decode the data

$sig = urlsafe_b64decode($encoded_sig) if $encoded_sig;

$data = $json->decode(urlsafe_b64decode($payload)) if $payload;

if ($data->{algorithm} ne 'HMAC-SHA256') {

facebook_warnings("Unknown algorithm. Expected HMAC-SHA256");

return;

}

# check sig

$expected_sig = hmac_sha256($payload, $SECRET);

if ($sig ne $expected_sig) {

facebook_warnings("Bad Signed JSON signature!");

return;

}

$data->{encoded_sig} = $encoded_sig;

return $data;
}

Jesus Altuve - 2012-05-21T18:37:17 (permalink)

3 out of 3 found this review helpful. Was this review helpful to you?  Yes No

WWW-Facebook-API (0.4.18) ***

This isn't a review, but rather a response to Anders Nielsen.

You may want to check out Facebook::Graph; it is maintained and works with the current Facebook API.

Rob Hoelz - 2011-11-16T07:25:07 (permalink)

2 out of 2 found this review helpful. Was this review helpful to you?  Yes No

WWW-Facebook-API (0.4.18)

I've used the module in the past and I was happy with it then.

But the module seems to be dead now. The RT queue contains spam and bug reports without answers.

I don't think the module works after Facebook changed their API.

It would be nice if the maintainer would document if the module still works or not.

Btw. thank you for the module :-)

Anders Nielsen - 2011-11-16T01:52:42 (permalink)

2 out of 2 found this review helpful. Was this review helpful to you?  Yes No

WWW-Facebook-API (0.4.16) *****

My use of the module has been almost entirely restricted to running FQL queries, and it's been fantastic. Thank-you!

Paul Fenwick - 2009-09-10T06:13:29 (permalink)

2 out of 2 found this review helpful. Was this review helpful to you?  Yes No

WWW-Facebook-API (0.4.14) *****

Thank you for this wonderful module. Easily extensible (we added support for notes with no problems), worked pretty much first time.

Would be nice if the thrown Errors were more structured, as we just get a string out. But it's a minor problem.

adam - 2009-04-17T08:39:01 (permalink)

2 out of 2 found this review helpful. Was this review helpful to you?  Yes No

WWW-Facebook-API (v0.4.10) *****

David, thanks for the excellent Facebook API. It works well, and I note that it is updated frequently as FB adds functionality or makes changes -- which as we all know, happens all the time. Thank you!!!!!!

Hermann - 2007-12-23T11:11:26 (permalink)

3 out of 3 found this review helpful. Was this review helpful to you?  Yes No

WWW-Facebook-API (v0.4.4) *****

Well designed module with a clear interface, sane code, and good docs. And the developer is incredibly responsive and helpful. Not to mention patient in the face of my continued blundering and stupidity :)

Simon Wistow - 2007-08-15T03:15:32 (permalink)

10 out of 10 found this review helpful. Was this review helpful to you?  Yes No