PHP 클래스 Horde_Service_Facebook_Links, horde

Copyright 2009-2016 Horde LLC (http://www.horde.org/)
저자: Michael J. Rubinsky ([email protected])
상속: extends Horde_Service_Facebook_Base
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
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.

메소드 상세

get() 공개 메소드

Retrieves links posted by the given user.
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.
리턴 array An array of links.

post() 공개 메소드

Posts a link on Facebook.
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.
리턴 boolean