JT Smith > Facebook-Graph-1.0600 > Facebook::Graph::Publish::Like

Download:
Facebook-Graph-1.0600.tar.gz

Dependencies

Annotate this POD

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

NAME ^

Facebook::Graph::Publish::Like - Mark a post as something you like.

VERSION ^

version 1.0600

SYNOPSIS ^

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

 $fb->add_like($post_id)
    ->publish;

DESCRIPTION ^

Marks a post as something you like.

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: