
CGI::Untaint::Twitter - Validate a Twitter ID in a CGI script.

Version 0.01

CGI::Untaint::Twitter is a subclass of CGI::Untaint used to validate if the given Twitter ID is valid.
use CGI::Info;
use CGI::Untaint;
use CGI::Untaint::Twitter;
# ...
my $info = CGI::Info->new();
my $params = $info->params();
# ...
my $u = CGI::Untaint->new($params);
my $tid = $u->extract(-as_Twitter => 'twitter');
# $tid will be lower case

Validates the data.

Nigel Horne, <njh at bandsman.co.uk>

Twitter only allows 150 requests per hour. If you exceed that, CGI::Untaint::Twitter won't validate and will assume all ID's are valid.
Please report any bugs or feature requests to bug-cgi-untaint-twitter at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CGI-Untaint-Twitter. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.


You can find documentation for this module with the perldoc command.
perldoc CGI::Untaint::Twitter
You can also look for information at:
http://rt.cpan.org/NoAuth/Bugs.html?Dist=CGI-Untaint-Twitter


Copyright 2012 Nigel Horne.
This program is released under the following licence: GPL