Facebook::Graph::Publish::Note - Add a note to a user's list of notes.
version 1.0801
my $fb = Facebook::Graph->new; $fb->add_note ->set_subject('Things I Like') ->set_message('I like beer.') ->publish;
This module gives you quick and easy access to publish notes.
ATTENTION: You must have the publish_stream privilege to use this module.
publish_stream
Specify a profile id to post to. Defaults to 'me', which is the currently logged in user.
Sets the body text of the note.
A string of text.
Sets the title to identify the note from others.
Posts the data and returns a Facebook::Graph::Response object. The response object should contain the id:
{"id":"1647395831_130068550371568"}
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.