Graph API / FQL如何从用户中删除我自己的应用程序?

问题描述:

当我接受我的申请时,我从用户那里获得了offline_access。现在,在我的网站上,用户可以删除我对他的Facebook帐号的访问。
有没有办法告诉Facebook从这个用户中删除我的应用程序?

I gain offline_access from the user when he accepts my application. Now, in my website, the user can delete my access to his facebook account. Is there a way, to tell facebook to remove my app from this user ?

感谢您的帮助

要撤消对应用的授权,您可以使用HTTP DELETE请求:

To revoke authorisation for an app, you can use a HTTP DELETE request with:

 https://graph.facebook.com/PROFILE_ID/permissions

http://developers.facebook.com/docs/reference/api/user/#permissions


您可以通过向PROFILE_ID /权限发出HTTP DELETE请求来代表用户取消授权应用程序或撤销特定的扩展权限,该应用的用户access_token。

You can de-authorize an application or revoke a specific extended permissions on behalf of a user by issuing an HTTP DELETE request to PROFILE_ID/permissions with a user access_token for that app.