10

根据Facebook 文档,一旦用户接受请求,应用程序负责删除请求。 根据 Facebook的说法,应用程序需要将 request-id 与 user-id 结合起来才能删除请求。但是,如果用户尚未对应用程序进行身份验证,则无法获取其用户 ID。

应该如何解决这个问题?

4

2 回答 2

1

Per the documentation it is your responsibility to delete them.

The docs say you can user either your app access token or a user access token. So if the user is logged in just use their user access token. If the user is not logged in use the app access token.

 DELETE https://graph.facebook.com/[<REQUEST_OBJECT_ID>_<USER_ID>]?
       access_token=[USER or APP ACCESS TOKEN]
于 2012-03-05T17:17:03.300 回答
1

Facebook 文档指出:

当用户通过单击接受请求被定向到您的应用程序时,您必须在请求被接受后将其删除......因此,一旦它们被接受,开发人员有责任清除它们

请注意“被接受后”部分 - 这意味着只有当请求被接受时,您才有责任删除请求。

于 2012-02-28T14:29:52.610 回答