.. function:: setCaption() Set caption Post caption (can only be used if link is specified) :param string: :rtype: void
.. function:: setDescription() Set description Post description (can only be used if link is specified) :param string: :rtype: void
.. function:: setLink() Set link The link attached to this post :param string: :rtype: void
.. function:: setMessage() Set message The message that appears in the post. :param string: :rtype: void
.. function:: setName() Set name Post name (can only be used if link is specified) :param string: :rtype: void
.. function:: setPicture() Set picture Post thumbnail image (can only be used if link is specified) :param string: :rtype: void
.. function:: setActions() Set actions Array of objects containing 'name' and 'link' keys :param array: :rtype: void
.. function:: setTargeting() Set targeting JSON object containing countries, cities, regions or locales Example: {'countries':['US','GB']} :param string: :rtype: void
.. function:: setPublished() Set published Whether a post is published. Default is published. Requires extended permissions: publish_stream, manage_pages Only available when publishing to a page. :param boolean: :rtype: void
.. function:: setScheduledPublishTime() Set scheduled publish time Time when the page post should go live, this should be between 10 mins and 6 months from the time of publishing the post. Requires extended permissions: publish_stream, manage_pages Only available when publishing to a page. :param string: a unix timestamp :rtype: void
.. function:: __construct() Constructor :param string: the message :rtype: void
.. function:: createAction() Create action Returns an associative array for an action link :param $name: name :param $link: value :rtype: array
.. function:: createProperty() Create property Returns an associative array for a property link :param $text: text :param $href: :rtype: array
.. function:: create() Create a post :param string|int: the profile ID (eg - me) :rtype: string the new post ID