Overview

Packages

  • None
  • Service
    • Facebook

Classes

  • Horde_Service_Facebook_Auth
  • Horde_Service_Facebook_Base
  • Horde_Service_Facebook_BatchRequest
  • Horde_Service_Facebook_ErrorCodes
  • Horde_Service_Facebook_Events
  • Horde_Service_Facebook_Exception
  • Horde_Service_Facebook_Fql
  • Horde_Service_Facebook_Friends
  • Horde_Service_Facebook_Groups
  • Horde_Service_Facebook_Links
  • Horde_Service_Facebook_Notes
  • Horde_Service_Facebook_Notifications
  • Horde_Service_Facebook_Photos
  • Horde_Service_Facebook_Request
  • Horde_Service_Facebook_Streams
  • Horde_Service_Facebook_Translation
  • Horde_Service_Facebook_UploadRequest
  • Horde_Service_Facebook_Users
  • Horde_Service_Facebook_Videos
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Service_Facebook_Notes

Notes methods.

Note that these api calls are marked as BETA in the facebook docs.

Copyright 2009-2012 Horde LLC (http://www.horde.org/)

Horde_Service_Facebook_Base
Extended by Horde_Service_Facebook_Notes
Package: Service\Facebook
Category: Horde
Author: Michael J. Rubinsky mrubinsk@horde.org
Located at Horde/Service/Facebook/Notes.php
Methods summary
public integer &
# create( string $title, string $content, integer $uid = null )

Creates a note with the specified title and content.

Creates a note with the specified title and content.

Parameters

$title
Title of the note.
$content
Content of the note.
$uid
<p>The user for whom you are creating a note; defaults to current session user</p>

Returns

integer
The ID of the note that was just created.
public boolean &
# delete( integer $note_id, integer $uid = null )

Deletes the specified note.

Deletes the specified note.

Parameters

$note_id
ID of the note you wish to delete
$uid
<p>Owner of the note you wish to delete; defaults to current session user</p>

Returns

boolean
public boolean &
# edit( integer $note_id, string $title, string $content )

Edits a note, replacing its title and contents with the title and contents specified.

Edits a note, replacing its title and contents with the title and contents specified.

Parameters

$note_id
ID of the note you wish to edit
$title
Replacement title for the note
$content
Replacement content for the note

Returns

boolean
public array &
# get( integer $uid, array $note_ids = null )

Retrieves all notes by a user. If note_ids are specified, retrieves only those specific notes by that user.

Retrieves all notes by a user. If note_ids are specified, retrieves only those specific notes by that user.

Parameters

$uid
User whose notes you wish to retrieve
$note_ids
<p>(Optional) List of specific note IDs by this user to retrieve</p>

Returns

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.

Methods inherited from Horde_Service_Facebook_Base
__construct()
API documentation generated by ApiGen