0

这是我得到的错误

error OAuthException: (#2) User can't delete this request: Unknown error

这是我使用 Requests 2.0 的代码

try {
 $delete_success = $facebook->api("/$requestid"."_$fbprofileid&access_token=$config[appId]|$config[secret]",'DELETE');
 if ($delete_success) {
    echo "Successfully deleted " . $requestid;
} else {
   echo "Error: Your invitation wasn't deleted.".$requestid;}
}          
catch (FacebookApiException $e) { echo "error $e"; }
4

0 回答 0