Method | Description | |
---|---|---|
get ( integer $uid = null, array $options = [] ) : array | Retrieves links posted by the given user. | |
post ( string $link, integer $uid = null, array $options = [] ) : boolean | Posts a link on Facebook. |
public get ( integer $uid = null, array $options = [] ) : array | ||
$uid | integer | The user whose links you wish to retrieve |
$options | array | An options array: - limit: (integer) The maximum number of posts to return. - offset: (integer) The post to start returning from. - ids: (array) Only return these specfic links. |
return | array | An array of links. |
public post ( string $link, integer $uid = null, array $options = [] ) : boolean | ||
$link | string | URL/link you wish to post |
$uid | integer | User ID that is posting this link |
$options | array | Additional post options: - message: (string) A message to attach to the link. - picture (string) A URL to a thumbnail image to use for this post if link is set. - name: (string) A name for the post if link is set. - caption: (string) The caption, if link is set. - description: (string) A description, if link is specified. |
return | boolean |