$_facebook
$_facebook : \Horde_Service_Facebook
Notes methods.
Note that these api calls are marked as BETA in the facebook docs.
Copyright 2009-2017 Horde LLC (http://www.horde.org/)
$_facebook : \Horde_Service_Facebook
__construct(\Horde_Service_Facebook $facebook)
Constructor
\Horde_Service_Facebook |
create(string $title, string $content, integer $uid = 'me') : integer
Creates a note with the specified title and content.
string | $title | Title of the note. |
string | $content | Content of the note. |
integer | $uid | The user for whom you are creating a note; defaults to current session user |
The ID of the note that was just created.
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.
integer | $uid | User whose notes you wish to retrieve |
array | $note_ids | (Optional) List of specific note IDs by this user to retrieve |
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.