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
Показать файл Открыть проект

Открытые методы

Метод Описание
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.