WWW::Twitpic::API - Twitpic simple API
use WWW::Twitpic::API; my $client = WWW::Twitpic::API->new( username => 'a twitter username', password => 'the big secret' ); # post a new image to the twitter feed $clent->post( '/path/to/image_filename' => 'The message for this pic' ); # or just upload the image to twitpic $client->upload( '/path/to/image_filename' );
Upload the provided image to twitpic.com Returns WWW::Twitpic::API::Response Example: $api->upload( '/tmp/my_picture.jpg' ); See L<http://twitpic.com/api.do#upload>
Upload the provided image to twitpic.com and post it on the username twitter feed with the optional message provided. Returns WWW::Twitpic::API::Response Example: $api->post( '/tmp/my_picture.jpg' => "Look ma, I'm on twitter!"); See L<http://twitpic.com/api.do#uploadAndPost>
Create and POST a request and return a Twitpic::API::Response.
<diego at freekeylabs.com>
Please report any bugs or feature requests to
bug-www-twitpic-api 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.
You can also look for information at:
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.