开发者

Graph API / FQL How to remove my own app from user?

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 t开发者_如何学Pythonhere a way, to tell facebook to remove my app from this user ?

Thanks for your help


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

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

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

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜