Mojolicious::Plugin::Disqus - Interface with Disqus comments from your Mojolicious app
version 1.22
use Mojolicious::Plugin::Disqus $self->plugin('disqus' => { 'api_secret' => 'your_api_secret', %options, });
The following options can be set for the plugin:
api_secret (REQUIRED) Your Disqus API secret (L<http://disqus.com/api/applications/>) secure (optional) When set, L<Net::Disqus> will use SSL to communicate with the Disqus API pass_api_errors (optional) When set, any API errors are returned as a JSON object instead of throwing an exception.
This helper will fetch a Disqus API endpoint by url. %args contains the arguments that need to be passed to the request. This helper is a shortcut for $app->_disqus->fetch(url, %args). For a full list of supported endpoints, please see L<http://disqus.com/api/docs/>.
Ben van Staveren, <madcat at cpan.org>
<madcat at cpan.org>
Please report any bugs or feature requests through the web interface at https://github.com/benvanstaveren/Mojolicious-Plugin-Disqus/issues. If you want to contribute changes or otherwise involve yourself in development, feel free to fork the Git repository from https://github.com/benvanstaveren/Mojolicious-Plugin-Disqus/ and make pull requests for any patches you have.
You can find documentation for this module with the perldoc command.
perldoc Mojolicious::Plugin::Disqus
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Mojolicious-Plugin-Disqus
CPAN Ratings
http://cpanratings.perl.org/d/Mojolicious-Plugin-Disqus
Search CPAN
http://search.cpan.org/dist/Mojolicious-Plugin-Disqus/
Copyright 2011 Ben van Staveren.
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.
To install Mojolicious::Plugin::Disqus, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::Disqus
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::Disqus
For more information on module installation, please visit the detailed CPAN module installation guide.