Facebook logout button and redirect after logout

后端 未结 3 849
生来不讨喜
生来不讨喜 2021-02-08 15:43

I use this code

         


        
3条回答
  •  生来不讨喜
    2021-02-08 16:11

    For integrated authentication (Facebook + Asp.Net MVC), I just use Javascript and FormsAuthentication.SignOut();

    function LogoutFacebook() {    
    FB.logout(function (response) {
        window.location = "/facebook/logout/";
    });   }
    

提交回复
热议问题