278 |
|
} |
279 |
|
|
280 |
|
/** |
281 |
< |
* Sends an email notification to the specified user. |
282 |
< |
* @return string url which you should send the logged in user to to finalize the message. |
281 |
> |
* Sends a notification to the specified users. |
282 |
> |
* @return (nothing) |
283 |
|
*/ |
284 |
< |
public function notifications_send($to_ids, $notification, $email='') { |
284 |
> |
public function notifications_send($to_ids, $notification) { |
285 |
|
return $this->call_method('facebook.notifications.send', |
286 |
< |
array('to_ids' => $to_ids, 'notification' => $notification, 'email' => $email)); |
286 |
> |
array('to_ids' => $to_ids, 'notification' => $notification)); |
287 |
> |
} |
288 |
> |
|
289 |
> |
/** |
290 |
> |
* Sends an email to the specified user of the application. |
291 |
> |
* @param array $recipients : id of the recipients |
292 |
> |
* @param string $subject : subject of the email |
293 |
> |
* @param string $text : (plain text) body of the email |
294 |
> |
* @param string $fbml : fbml markup if you want an html version of the email |
295 |
> |
* @return comma separated list of successful recipients |
296 |
> |
*/ |
297 |
> |
public function notifications_sendEmail($recipients, $subject, $text, $fbml) { |
298 |
> |
return $this->call_method('facebook.notifications.sendEmail', |
299 |
> |
array('recipients' => $recipients, |
300 |
> |
'subject' => $subject, |
301 |
> |
'text' => $text, |
302 |
> |
'fbml' => $fbml)); |
303 |
|
} |
304 |
|
|
305 |
|
/** |