PHP 클래스 Horde_Service_Facebook_Notes, horde

Note that these api calls are marked as BETA in the facebook docs. Copyright 2009-2016 Horde LLC (http://www.horde.org/)
저자: Michael J. Rubinsky ([email protected])
상속: extends Horde_Service_Facebook_Base
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
create ( string $title, string $content, integer $uid = 'me' ) : integer Creates a note with the specified title and content.
delete ( integer $note_id ) : boolean Deletes the specified note.
get ( integer $uid = 'me', array $note_ids = null ) : array Retrieves all notes by a user. If note_ids are specified, retrieves only those specific notes by that user.

메소드 상세

create() 공개 메소드

Creates a note with the specified title and content.
public create ( string $title, string $content, integer $uid = 'me' ) : integer
$title string Title of the note.
$content string Content of the note.
$uid integer The user for whom you are creating a note; defaults to current session user
리턴 integer The ID of the note that was just created.

delete() 공개 메소드

Deletes the specified note.
public delete ( integer $note_id ) : boolean
$note_id integer ID of the note you wish to delete
리턴 boolean

get() 공개 메소드

Retrieves all notes by a user. If note_ids are specified, retrieves only those specific notes by that user.
public get ( integer $uid = 'me', array $note_ids = null ) : array
$uid integer User whose notes you wish to retrieve
$note_ids array (Optional) List of specific note IDs by this user to retrieve
리턴 array A list of all of the given user's notes, or an empty list if the viewer lacks permissions or if there are no visible notes.