如何从Facebook注销连接在asp.net? [英] How to logout from facebook connect in asp.net?

查看:130
本文介绍了如何从Facebook注销连接在asp.net?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当它通过Facebook连接连接我不能注销的用户。
我使用Facebook的开发工具包。
任何人都知道如何断开连接用户?


解决方案

有功能注销用户:

  FB.Connect.logout

  FB.Connect.logoutAndRedirect


  

这些调用注销用户无论你的网站和Facebook。一旦退出对话框关闭后一种方法也将用户重定向。


您可能要签这个线程以及:

<一个href=\"http://stackoverflow.com/questions/1386557/how-to-log-out-users-using-facebook-connect-in-php-and-zend\">http://stackoverflow.com/questions/1386557/how-to-log-out-users-using-facebook-connect-in-php-and-zend

i can't logout a user when it's connected through facebook connect. I'm using the facebook developer toolkit. Anyone know how to "disconnect" a user ?

解决方案

There are functions to logout a user:

FB.Connect.logout

and

FB.Connect.logoutAndRedirect

These calls log the user out of both your site and Facebook. The latter method also redirects the user once the logout dialog closes.

You might want to checkout this thread as well:

http://stackoverflow.com/questions/1386557/how-to-log-out-users-using-facebook-connect-in-php-and-zend

这篇关于如何从Facebook注销连接在asp.net?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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