I need to be able to send users of a Facebook application a message, even if they are not logged in.
Is this possible?
If sending a message is not possible, could i post to their wall or news stream?
I need to be able to send users of a Facebook application a message, even if they are not logged in.
Is this possible?
If sending a message is not possible, could i post to their wall or news stream?
Try using the following function (found in facebookapi_php5_restlib.php in the Facebook SDK):
/**
* Sends a notification to the specified users.
*
* @return A comma separated list of successful recipients
* @error
* API_EC_PARAM_USER_ID_LIST
*/
public function ¬ifications_send($to_ids, $notification, $type) {
return $this->call_method('facebook.notifications.send',
array('to_ids' => $to_ids,
'notification' => $notification,
'type' => $type));
}