Class JFacebookStatus

Description

Facebook API Status class for the Joomla Platform.

Located in /libraries/joomla/facebook/status.php (line 23)

JFacebookObject
   |
   --JFacebookStatus
Method Summary
 mixed createComment (string $status, string $message)
 mixed createLike (string $status)
 mixed deleteComment (string $comment)
 mixed deleteLike (string $status)
 mixed getComments (string $status, [integer $limit = 0], [integer $offset = 0], [string $until = null], [string $since = null])
 mixed getLikes (string $status, [integer $limit = 0], [integer $offset = 0], [string $until = null], [string $since = null])
 mixed getStatus (string $status)
Variables
Methods
createComment (line 67)

Method to post a comment to the status message. Requires authentication and publish_stream and user_status or friends_status permission.

  • return: The decoded JSON response or false if the client is not authenticated.
  • since: 13.1
  • access: public
mixed createComment (string $status, string $message)
  • string $status: The status message id.
  • string $message: The comment's text.
createLike (line 116)

Method to like status message. Requires authentication and publish_stream and user_status or friends_status permission.

  • return: The decoded JSON response or false if the client is not authenticated.
  • since: 13.1
  • access: public
mixed createLike (string $status)
  • string $status: The status message id.
deleteComment (line 84)

Method to delete a comment. Requires authentication and publish_stream and user_status or friends_status permission.

  • return: The decoded JSON response or false if the client is not authenticated.
  • since: 13.1
  • access: public
mixed deleteComment (string $comment)
  • string $comment: The comment's id.
deleteLike (line 130)

Method to unlike a status message. Requires authentication and publish_stream and user_status or friends_status permission.

  • return: The decoded JSON response or false if the client is not authenticated.
  • since: 13.1
  • access: public
mixed deleteLike (string $status)
  • string $status: The status message id.
getComments (line 52)

Method to get a status message's comments. Requires authentication.

  • return: The decoded JSON response or false if the client is not authenticated.
  • since: 13.1
  • access: public
mixed getComments (string $status, [integer $limit = 0], [integer $offset = 0], [string $until = null], [string $since = null])
  • string $status: The status message id.
  • integer $limit: The number of objects per page.
  • integer $offset: The object's number on the page.
  • string $until: A unix timestamp or any date accepted by strtotime.
  • string $since: A unix timestamp or any date accepted by strtotime.
getLikes (line 102)

Method to get a status message's likes. Requires authentication.

  • return: The decoded JSON response or false if the client is not authenticated.
  • since: 13.1
  • access: public
mixed getLikes (string $status, [integer $limit = 0], [integer $offset = 0], [string $until = null], [string $since = null])
  • string $status: The status message id.
  • integer $limit: The number of objects per page.
  • integer $offset: The object's number on the page.
  • string $until: A unix timestamp or any date accepted by strtotime.
  • string $since: A unix timestamp or any date accepted by strtotime.
getStatus (line 34)

Method to get a status message. Requires authentication.

  • return: The decoded JSON response or false if the client is not authenticated.
  • since: 13.1
  • access: public
mixed getStatus (string $status)
  • string $status: The status message id.

Inherited Methods

Inherited From JFacebookObject

 JFacebookObject::__construct()
 JFacebookObject::createConnection()
 JFacebookObject::deleteConnection()
 JFacebookObject::fetchUrl()
 JFacebookObject::get()
 JFacebookObject::getConnection()
 JFacebookObject::getOAuth()
 JFacebookObject::sendRequest()
 JFacebookObject::setOAuth()

Documentation generated on Tue, 19 Nov 2013 15:14:19 +0100 by phpDocumentor 1.4.3