Facebook::Graph::Publish::Photo - Publish Photos
version 1.0500
my $fb = Facebook::Graph->new; $fb->add_photo() ->set_source('/tmp/photo.jpg') ->set_message('Photo!') ->publish;
Publish a Photo
ATTENTION: You must have the publish_stream privilege to use this module.
publish_stream
Posts the data and returns a Facebook::Graph::Response object. The response object should contain a string of either 'true' or 'false'.
Facebook::Graph is Copyright 2010 - 2012 Plain Black Corporation (http://www.plainblack.com) and is licensed under the same terms as Perl itself.
To install Facebook::Graph, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Facebook::Graph
CPAN shell
perl -MCPAN -e shell install Facebook::Graph
For more information on module installation, please visit the detailed CPAN module installation guide.