WWW::FastPass - Get Satisfaction FastPass functions
use WWW::FastPass; my $url = WWW::FastPass::url($key, $secret, $user_email, $user_name, $user_uid);
This is a very simple wrapper around Net::OAuth for constructing URLs for use with Get Satisfaction's (http://getsatisfaction.com) FastPass service. It provides the same functions as the example libraries on the FastPass implementation page (http://getsatisfaction.com/developers/fastpass-implementation).
Takes five mandatory arguments and two optional arguments:
consumer_secret are available on the Admin/FastPass page, once you have logged in to Get Satisfaction.
user_uid must uniquely identify the relevant user, and must not change while the user account exists in the system.
is_secure defaults to false - if true, the
https Get Satisfaction domain will be used when constructing the FastPass URL.
extra_fields is an optional hashref of user data, which data will be present in the returned URL.
Returns a FastPass URL (as a string) that can in turn be used as the
fastpass argument when constructing your community site's URL.
Takes the same arguments as url. Returns a HTML script fragment - once executed, this will add extra
script tags to the
head section of the page, that will in turn allow you to use the
src attribute of a
script tag, and that will have the same effect. See the FastPass implementation page for more details.
This module is basically a direct port of the libraries available for download on the FastPass implementation page.
Tom Harrison, <firstname.lastname@example.org>
Copyright (C) 2011, 2012 by Tom Harrison
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.