-
-
31 Mar 2011 05:15:11 UTC
- Distribution: Catalyst-Model-Facebook
- Module version: 0.101
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (2)
- Testers (664 / 1 / 0)
- Kwalitee
Bus factor: 1- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (11.76KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 2 contributors-
Torsten Raudssus L<http://www.raudssus.de/>
-
Frank Sheiness
NAME
Catalyst::Model::Facebook - The Catalyst model for the package Facebook
VERSION
version 0.101
SYNOPSIS
# # Config # <Model::MyModel> app_id 122038147863143 api_key e0dd54ae57bcdf6b3cac784bf80243fd secret 1b010be5853166ad425683e8d753e0af facebook_class Facebook facebook_signed_class Facebook::Signed </Model::MyModel> # # Sample controller code # sub index :Chained('base') :PathPart('') :Args { my ( $self, $c ) = @_; if ($c->model('MyModel')->uid) { $c->stash->{facebook_user_profile} = $c->model('Facebook')->graph->query ->find($c->model('MyModel')->uid) ->include_metadata ->request ->as_hashref; } }
DESCRIPTION
This package wraps around the Facebook package. It uses the "facebook_cookie_class" where it gives over "app_id", "secret" and the text of the facebook cookie of this "app_id". This object will be used as cookie attribute for the construction of the "facebook_class".
CONFIG PARAMETERS
app_id
The application id you got from your http://www.facebook.com/developers/apps.php application page.
api_key
The API key you got from your http://www.facebook.com/developers/apps.php application page.
secret
The application secret you got from your http://www.facebook.com/developers/apps.php application page.
facebook_class
If you want to extend the Facebook class, or want to use an alternative implementation which is compatible, you can set here the class that should be used for this adapter.
facebook_signed_class
With this parameter you can give him a different Facebook::Signed class which he uses for parsing the signed values for the Facebook object on construction.
SEE ALSO
Catalyst::Helper::Model::Facebook
SUPPORT
IRC
Join #facebook on irc.perl.org.
Repository
http://github.com/Getty/p5-catalyt-model-facebook Pull request and additional contributors are welcome
Issue Tracker
http://github.com/Getty/p5-catalyt-model-facebook/issues
AUTHORS
Torsten Raudssus <torsten@raudssus.de> http://www.raudssus.de/
Frank Sheiness <syndesis@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 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.
Module Install Instructions
To install Catalyst::Model::Facebook, copy and paste the appropriate command in to your terminal.
cpanm Catalyst::Model::Facebook
perl -MCPAN -e shell install Catalyst::Model::Facebook
For more information on module installation, please visit the detailed CPAN module installation guide.