Class JFacebookComment

Description

Facebook API Comment class for the Joomla Platform.

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

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

Method to comment on a comment. Requires authentication with publish_stream permission.

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

Method to like a comment. Requires authentication and publish_stram permission.

  • return: Returns true if successful, and false otherwise.
  • since: 13.1
  • access: public
boolean createLike (string $comment)
  • string $comment: The comment id.
deleteComment (line 48)

Method to delete a comment. Requires authentication and publish_stream permission.

  • return: Returns true if successful, and false otherwise.
  • since: 13.1
  • access: public
boolean deleteComment (string $comment)
  • string $comment: The comment id.
deleteLike (line 131)

Method to unlike a comment. Requires authentication and publish_stram permission.

  • return: Returns true if successful, and false otherwise.
  • since: 13.1
  • access: public
boolean deleteLike (string $comment)
  • string $comment: The comment id.
getComment (line 34)

Method to get a comment. Requires authentication.

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

Method to get a comment'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 $comment, [integer $limit = 0], [integer $offset = 0], [string $until = null], [string $since = null])
  • string $comment: The comment 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 103)

Method to get comment'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 $comment, [integer $limit = 0], [integer $offset = 0], [string $until = null], [string $since = null])
  • string $comment: The comment 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.

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 14:56:06 +0100 by phpDocumentor 1.4.3