| WWW-Twitpic documentation | Contained in the WWW-Twitpic distribution. |
WWW::Twitpic - Use the twitpic.com simple API from our favorite language.
Version 0.02
This module module is just an interface to the simple api described at http://twitpic.com/api.do
Using this module, you'll easily post images to twitpic.com and to your twitter feed.
use WWW::Twitpic;
my $client = WWW::Twitpic->new(
username => 'your twitter username',
password => 'your twitter password'
);
my $res = $client->post( '/path/to/image.jpg' => 'Message to post with the image on twitter' );
# $res is a WWW::Twitpic::API::Response
print $res->is_success ? $res->url : $res->error;
At this moment, this is doing what WWW::Twitpic::API does.
See L<Moose>.
Diego Kuperman, <diego at freekeylabs.com>
Please report any bugs or feature requests to bug-www-twitpic at rt.cpan.org, or through
the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Twitpic. 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 WWW::Twitpic
You can also look for information at:
L<WWW::Twitpic::API>
L<WWW::Twitpic::API::Response>
L<http://twitpic.com>
Copyright 2009 Diego Kuperman, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| WWW-Twitpic documentation | Contained in the WWW-Twitpic distribution. |
package WWW::Twitpic; use Moose; extends 'WWW::Twitpic::API';
our $VERSION = '0.02';
no Moose; 1;