Dancer-Plugin-Facebook
view release on metacpan or search on metacpan
lib/Dancer/Plugin/Facebook.pm view on Meta::CPAN
Though it's not required that you have an registered app, if you do,
you need only record the C<app_id> and C<secret> in one place.
=item automatically create routes for handling authentication
If you pass a path to the C<setup_fb> routine, the plugin will create
the routes necessary to support authentication in that location.
=item automatically manage user authentication tokens
It will transparently manage them through the user session for you,
collecting them when the user authenticates, and making sure that they
are used when creating the C<Facebook::Graph> object if they're present.
There is also a hook available (C<fb_access_token_available>) you can
use to retrieve and store the C<access_token> for offline use when it
is set. Then, simply store the C<access_token> in
C<session->{auth}->{facebook}> and the C<fb> object will automatically
pick it up on each request.
=back
( run in 0.322 second using v1.01-cache-2.11-cpan-0a6323c29d9 )