This queue is for tickets about the WWW-Facebook-API CPAN distribution.

Report information
The Basics
Id:
68869
Status:
new
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
ClintJCL [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: WWW::Facebook::API pretty much destroyed in June 2011
Date: Thu, 16 Jun 2011 11:30:41 -0400
To: bug-WWW-Facebook-API@rt.cpan.org
From: __Clint__ <clintjcl@gmail.com>
Hello,

My apologies if I am totally clueless in my assessment.



I've googled, and seen others reporting the error, so it's not just me. But I thought I'd email in case the proper people didn't know this yet.

Basically, the Perl FAcebook API isn't working with the new Facebook June 2011 API changes.

We get responses like these:

response =
{"error_code":102,"error_msg":"parameters uid or session key required","request_args":[{"key":"api_key","value":"52819019c1c46ecd5f54aa0ec0ee0b24"},{"key":"cal
l_id","value":"1308237134.09277"},{"key":"description","value":"facebook API sux"},{"key":"format","value":"JSON"},{"key":"location","value":"my butt"},{"key":
"method","value":"facebook.photos.createAlbum"},{"key":"name","value":"perl created album"},{"key":"session_key","value":""},{"key":"v","value":"1.0"},{"key":"
sig","value":"47c5a3f8430563b66abca2e8e92a16b0"}]}

I actually had a python module that had worked for almost 3 years that failed with the same error, which clued me in to facebook's changes.


The code that's throwing this is:



my $client = WWW::Facebook::API->new(
    debug   => 1,
    desktop => 1,
    api_key => $API_KEY,
    secret  => $SECRET,
    uid     => $UID,                              #I tried adding this to no avail
);



if ($MAKE_ALBUM) {
    $response = $client->photos->create_album(
            name        => 'perl created album',
            location    => 'nowhere',
            description => "facebook API sux",
            uid         => $UID,                 #I tried adding this to no avail
    );
}



Just thought I'd let you know. A lot of stuff is on hold until this can be resolved.


Thanks,
-Clint


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.