I'm trying to send an app to user request in facebook. Here are my codes:
<?php
include 'connect.php';
$param = array(
'message' => 'Check out the latest update',
'data' => 'some_data_string',
'access_token' => $facebook->getAccessToken(),
);
$tmp = $facebook->api("/100001160043714/apprequests", "POST", $param);
print_r($tmp)
?>
I'm getting this result on the last line printing:
Array ( [request] => 364366050304238 [to] => Array ( [0] => 100001160043714 ) )
The specified user id is my own account. However, I'm not getting any request. Is there any permission to enable?