简体   繁体   English

如何从应用程序中注销用户?

[英]How can I unregister my user from my application?

I am using facebook C# SDK in my application and using Graph API. 我在我的应用程序中使用了Facebook C#SDK,并使用了Graph API。 Everything is working fine. 一切正常。 However, I didn't get how to unregister my users from my application meaning revoke the rights given to my application. 但是,我没有得到如何从我的应用程序中注销用户的信息,这意味着撤销了授予我的应用程序的权限。

I didn't get how to do this using SDK. 我没有使用SDK来执行此操作。 Any help would be appreciated. 任何帮助,将不胜感激。 Let me know if my question is not clear. 如果我的问题不清楚,请告诉我。

From the user documentation : 用户文档中

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. 您可以通过向PROFILE_ID /权限和该应用程序的用户access_token发出HTTP DELETE请求,来代表用户解除对应用程序的授权或撤销特定的扩展权限。

Also, you can still call auth.revokeAuthorization or auth.revokeExtendedPermission . 此外,您仍然可以调用auth.revokeAuthorizationauth.revokeExtendedPermission

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使我的应用程序与会员服务脱钩? - How can I decouple my application from my membership service? 如何在我的应用程序中加密用户设置(例如密码)? - How can I encrypt user settings (such as passwords) in my application? 如何防止用户关闭我的 C# 应用程序? - How can I prevent a user from closing my C# application? 如何从应用程序访问“我的用户”文件夹中的文件? - How can I access files inside My User folder from the application? 如何从应用程序外部获取Toast通知? - How can i get my Toast Notification from outside the application? 如何将“数据”与控制台应用程序分开? - How can I separate “Data” from my console application? 如何保护我的 .net 应用程序免受反编译器的攻击? - How can i protect my .net application from decompilers? 如何防止Windows显示屏幕保护程序或从应用程序关闭电源? - How can i prevent my windows from showing screensaver or powering down from my application? 如何做到这一点,以便用户可以快速更改到我的应用程序 - How can I make it so the user can quickly change to my application 我可以人为地限制用户的sql权限只能读取我的应用程序的任何连接吗? - Can I artificially restrict a user's sql permissions to be read only for any connections from my application?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM