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_Notifications

Notifications methods for Horde_Service_Faceboook

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

Horde_Service_Facebook_Base
Extended by Horde_Service_Facebook_Notifications
Package: Service\Facebook
Category: Horde
Author: Michael J. Rubinsky mrubinsk@horde.org
Located at Horde/Service/Facebook/Notifications.php
Methods summary
public array &
# get( )

Returns the outstanding notifications for the session user.

Returns the outstanding notifications for the session user.

Returns

array

An assoc array of notification count objects for 'messages', 'pokes' and 'shares', a uid list of 'friend_requests', a gid list of 'group_invites', and an eid list of 'event_invites'

Throws

Horde_Service_Facebook_Exception
public string &
# send( mixed $to_ids, string $notification, string $type )

Sends a notification to the specified users.

Sends a notification to the specified users.

Parameters

$to_ids
<p>Either an array of uids or a string list of uids.</p>
$notification
A FBML string for the notification.
$type
Either 'user_to_user' or 'app_to_user'

Returns

string
A comma separated list of successful recipients

Throws

Horde_Service_Facebook_Exception
public string &
# sendEmail( string $recipients, string $subject, string $text, string $fbml )

Sends an email to the specified user of the application.

Sends an email to the specified user of the application.

Parameters

$recipients
comma-separated ids of the recipients
$subject
subject of the email
$text
(plain text) body of the email
$fbml
fbml markup for an html version of the email

Returns

string
A comma separated list of successful recipients

Throws

Horde_Service_Facebook_Exception

Error

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