Method to post a link on group's wall. Requires authentication and publish_stream permission.
mixed
createLink
(string $group, string $link, [strin $message = null])
-
string
$group: The group id.
-
string
$link: Link URL.
-
strin
$message: Link message.
Method to post on group's wall. Message or link parameter is required. Requires authentication and publish_stream permission.
mixed
createPost
(string $group, [string $message = null], [string $link = null], [string $picture = null], [string $name = null], [string $caption = null], [string $description = null], [array $actions = null])
-
string
$group: The group id.
-
string
$message: Post message.
-
string
$link: Post URL.
-
string
$picture: Post thumbnail image (can only be used if link is specified)
-
string
$name: Post name (can only be used if link is specified).
-
string
$caption: Post caption (can only be used if link is specified).
-
string
$description: Post description (can only be used if link is specified).
-
array
$actions: Post actions array of objects containing name and link.
Method to post a status message on behalf of the user on the group's wall. Requires authentication and publish_stream permission.
mixed
createStatus
(string $group, string $message)
-
string
$group: The group id.
-
string
$message: Status message content.
Method to delete a link. Requires authentication.
boolean
deleteLink
(mixed $link)
-
mixed
$link: The Link ID.
Method to delete a post. Note: you can only delete the post if it was created by the current user. Requires authentication.
boolean
deletePost
(string $post)
-
string
$post: The Post ID.
Method to delete a status. Note: you can only delete the status if it was created by the current user. Requires authentication.
boolean
deleteStatus
(string $status)
-
string
$status: The Status ID.
Method to get the group's docs. Requires authentication and user_groups or friends_groups permission for non-public groups.
mixed
getDocs
(string $group, [integer $limit = 0], [integer $offset = 0], [string $until = null], [string $since = null])
-
string
$group: The group 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.
Method to get the group's wall. Requires authentication and user_groups or friends_groups permission for non-public groups.
mixed
getFeed
(string $group, [integer $limit = 0], [integer $offset = 0], [string $until = null], [string $since = null])
-
string
$group: The group 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.
Method to read a group. Requires authentication and user_groups or friends_groups permission for non-public groups.
mixed
getGroup
(string $group)
-
string
$group: The group id.
Method to get the group's members. Requires authentication and user_groups or friends_groups permission for non-public groups.
mixed
getMembers
(string $group, [integer $limit = 0], [integer $offset = 0])
-
string
$group: The group id.
-
integer
$limit: The number of objects per page.
-
integer
$offset: The object's number on the page.
Method to get the groups's picture. Requires authentication and user_groups or friends_groups permission.
string
getPicture
(string $group, [string $type = null])
-
string
$group: The group id.
-
string
$type: To request a different photo use square | small | normal | large.
Inherited Methods
Inherited From JFacebookObject
JFacebookObject::__construct()
JFacebookObject::createConnection()
JFacebookObject::deleteConnection()
JFacebookObject::fetchUrl()
JFacebookObject::get()
JFacebookObject::getConnection()
JFacebookObject::getOAuth()
JFacebookObject::sendRequest()
JFacebookObject::setOAuth()