Get notifications for current user
Returns all of the outstanding notifications for the given user, which include messages, pokes, shares, friend requests, group invites, and event invites.
mixed send(
array
$to, string
$notification, [string
$type = self::TYPE_GENERAL])
|
|
Send a notification
When you send a notification you can send it to an array of Facebook uids. The notification should be valid FBML. Optionally, you can pass
Optionally, you can pass a type parameter. 'general' (default) notifications require an active user session, while 'announcement' does not.
The result value can either be true or a string. The string is a valid URI that you should redirect the user to for confirmation.
Parameters: