Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Facebook::Graph::PubliUserLContributed Perl DFacebook::Graph::Publish::Link(3)

NAME
       Facebook::Graph::Publish::Link -	Add a link.

VERSION
       version 1.0801

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

	$fb->add_link
	   ->set_link_uri('http://www.plainblack.com')
	   ->set_message('Plain	Black')
	   ->publish;

DESCRIPTION
       This module gives you quick and easy access to publish notes.

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

METHODS
   to (	id )
       Specify a profile id to post to.	Defaults to 'me', which	is the
       currently logged	in user.

   set_message ( message )
       Sets the	description of the link.

       message

       A string	of text.

   set_link_uri	( uri )
       Sets the	URI to link to.

       uri

       A URI.

   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 - 2012	Plain Black Corporation
       (<http://www.plainblack.com>) and is licensed under the same terms as
       Perl itself.

perl v5.32.0			  2014-09-08 Facebook::Graph::Publish::Link(3)

NAME | VERSION | SYNOPSIS | DESCRIPTION | METHODS | LEGAL

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Facebook::Graph::Publish::Link&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help