We recently launched an app, where users can invite friends to participate in the contest. Because we're dutiful software engineers, we're wanna delete the app requests right after the user accepts the request.
The code below worked in several projects, but now fails with an error.
code (requestId = simple id without "_userId"):
$this->facebook->api($requestId, "DELETE", array("access_token" => $this->App["fb_app_access_token"]));
error:
{
"error": {
"message": "(#100) Requires valid app request IDs",
"type": "OAuthException",
"code": 100
}
}
we don't attach the user_id to the request_id, because the user hasn't authenticated the app yet, so we simply don't know the id at all.
has someone experienced the mentioned problem or found a solution for this problem yet?