FacebookRestClient::notifications_sendRequest PHP Method

notifications_sendRequest() public method

Sends a request to the specified user (e.g. "you have 1 event invitation")
public notifications_sendRequest ( array $to_ids, string $type, string $content, string $image, boolean $invite ) : string
$to_ids array user ids to receive the request (must be friends with sender, capped at 10)
$type string type of request, e.g. "event" (as in "You have an event invitation.")
$content string fbml content of the request. really stripped down fbml - just text/names/links. also, use the special tag to specify the buttons to be included.
$image string url of an image to show beside the request
$invite boolean whether to call it an "invitation" or a "request"
return string url which you should send the logged in user to to finalize the message.
    public function notifications_sendRequest($to_ids, $type, $content, $image, $invite)
    {
        return $this->call_method('facebook.notifications.sendRequest', array('to_ids' => $to_ids, 'type' => $type, 'content' => $content, 'image' => $image, 'invite' => $invite));
    }