Facebook取消授权我的应用程式 [英] Facebook deauthorize my app

查看:348
本文介绍了Facebook取消授权我的应用程式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用Facebook PHP SDK取消对特定用户的应用程序的授权,基本上我喜欢有一个切换,所以用户可以将他们的Facebook帐户链接或取消链接到我的网站,我有链接部分工作,现在只需要

Can I use Facebook PHP SDK to deauthorize my app for a particular user, basically I like to have a toggle so the user can link or unlink their facebook account to my site, I have the link part working, now just need the unlink part.

谢谢

推荐答案

不使用当前支持的图形API:作为当前设置,Graph API(或甚至是旧版API)中没有接口来取消授权应用程序。用户必须明确选择通过Facebook设置页面自行进行。

Not using the currently supported Graph API: as currently setup there is no interface in the Graph API (or even the legacy APIs) to deauthorize an application. The user has to explicitly choose to do it themselves through the Facebook settings pages.

然而...

传统的REST api具有 http://developers.facebook.com/docs/reference /rest/auth.revokeAuthorization/ ,SOUNDS喜欢它做你想要的。

The legacy REST api has http://developers.facebook.com/docs/reference/rest/auth.revokeAuthorization/, which SOUNDS like it does what you want.

让我知道如果这适用于你:我很好奇。

Let me know if that works for you: I'm curious.

这篇关于Facebook取消授权我的应用程式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆