Facebook::Graph News
By far my most popular module on CPAN has to be Facebook::Graph, and this is an interesting week for Facebook::Graph, so I thought I'd post a little blog about it.
First, my first of many (I hope) articles about Facebook::Graph is on perl.com today.
Second, 1.0200 has been released to CPAN. New features include posting Facebook location checkins, only loading Digest::SHA when needed, and some updated documentation for using Facebook Graph relationships.
Third, Michael Alan Dorman released a wrapper for Facebook::Graph for Dancer called Dancer::Plugin::Facebook, which makes it a bit easier to use Facebook::Graph in Dancer.
That's quite a bit of news for one silly module! =)
Great post on Perl.com - thanks
Thanks for all your work on Facebook::Graph, JT.
Quick question: Facebook says all apps need to use OAuth 2.0 by Sept 1 -- does Facebook::Graph need to be updated, or is it go to go?
Facebook::Graph is an OAuth 2.0 application. So you're good to go.
Reading the FB docs it says the postback needs to be https://, but I notice on your perl.com article there is no mention of SSL. Have I misunderstood?
There's no requirement for your site to be SSL. However, the posts made to Facebook go over SSL.
I have just tried the Facebook::Graph api with dancer, but I am getting
"Error 404
Unable to process your query
The page you requested is not available
Powered by Dancer 1.3111"
and the found the following from dancer log.
[7527] core @0.000114> request: POST / from 127.0.0.1 in /usr/local/lib/perl5/site_perl/5.8.8/Dancer/Handler.pm l. 56
[7527] core @0.000532> [hit #1]Trying to match 'POST /' against /^\/upload_photo$/ (generated from '/upload_photo') in /usr/local/lib/perl5/site_perl/5.8.8/Dancer/Route.pm l. 84
[7527] core @0.000703> [hit #1]Trying to match 'POST /' against /^\/upload_photo$/ (generated from '/upload_photo') in /usr/local/lib/perl5/site_perl/5.8.8/Dancer/Rout