NAME

Facebook::Graph::Publish::Comment - Publish a comment on a post.

VERSION

version 1.1205

SYNOPSIS

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

$fb->add_comment($comment_id)
   ->set_message('Why so serious?')
   ->publish;

DESCRIPTION

This module gives you quick and easy access to publish comments on posts.

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

METHODS

set_message ( message )

Sets the text to post to the wall.

message

A string of text.

publish ( )

Posts the data and returns a Facebook::Graph::Response object. The response object should contain the id:

{"id":"1647395831_130068550371568"}

LEGAL

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