JT Smith > Facebook-Graph-1.0700 > Facebook::Graph::Publish::Photo

Download:
Facebook-Graph-1.0700.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.0700   Source   Latest Release: Facebook-Graph-1.0801

NAME ^

Facebook::Graph::Publish::Photo - Publish Photos

VERSION ^

version 1.0700

SYNOPSIS ^

 my $fb = Facebook::Graph->new;

 $fb->add_photo()
        ->set_source('/tmp/photo.jpg')
        ->set_message('Photo!')
    ->publish;

DESCRIPTION ^

Publish a Photo

ATTENTION: You must have the publish_stream privilege to use this module.

METHODS ^

publish ( )

Posts the data and returns a Facebook::Graph::Response object. The response object should contain a string of either 'true' or 'false'.

LEGAL ^

Facebook::Graph is Copyright 2010 - 2012 Plain Black Corporation (http://www.plainblack.com) and is licensed under the same terms as Perl itself.

syntax highlighting: