NAME

CatalystX::FacebookURI - Automatically compose uri_for URIs to be within your Facebook application

VERSION

Version 0.02

SYNOPSIS

Quick summary of what the module does.

Perhaps a little code snippet.

package MyApp;
use Moose;
BEGIN {
    extends 'Catalyst';

    use Catalyst::Runtime 5.80;
    use Catalyst qw(
        ...
        Facebook
    );
    with 'CatalystX::FacebookURI';
}

__PACKAGE__->config(
    facebook => {
        api_key => 'my_key',
        secret  => 'my_s33krit',
        name    => 'myapp'  # Used as app name in URIs
    }
);
...

my $uri = $c->uri_for('/some/path'); # returns http://apps.facebook.com/myapp/some/path

AUTHOR

Michael Nachbaur, <mike at nachbaur.com>

BUGS

Please report any bugs or feature requests to bug-catalystx-facebookuri at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CatalystX-FacebookURI. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

This project is available via Git at http://github.com/NachoMan/CatalystX-FacebookURI

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc CatalystX::FacebookURI

You can also look for information at:

COPYRIGHT & LICENSE

Copyright 2010 Michael Nachbaur.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.