如何将用户从我的FB应用程序登录,但不是Facebook网站? [英] How do I log a user out of my FB app but not Facebook site?

查看:119
本文介绍了如何将用户从我的FB应用程序登录,但不是Facebook网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在asp.net网站上使用facebook登录集成。我想要的是 - 当用户注销该网站时,我不会让他注销FB应用程序,而不是Facebook本身。如果我调用FB.logout()它会注销FB以及应用程序。
我想我想要的是为应用程序输入acess_token cookie,但无法弄清楚

解决方案

  FB.api({method:'Auth.revokeAuthorization'}); 


I am using facebook login integration on my asp.net site. What I want is - when user logs off the site, I wont him to also log off teh FB application, but not facebook itself. If I call FB.logout() it logs off FB as well as the app. I guess what I want is to lose teh acess_token cookie for the app, but can't figure out

解决方案

FB.api({ method: 'Auth.revokeAuthorization' });

这篇关于如何将用户从我的FB应用程序登录,但不是Facebook网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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