Facebook logout C# SDK

前端 未结 1 1673
一整个雨季
一整个雨季 2020-12-07 02:39

Hi
I am having trouble trying to logout of facebook using the FB C# SDK.

Here\'s a sample of my test

var oauth = new FacebookOAuthClient();
            


        
相关标签:
1条回答
  • 2020-12-07 03:21

    After some time searching I came across this post: http://forum.developers.facebook.net/viewtopic.php?id=87109

    which suggests to call:

    this.NavigateUrl =  https://www.facebook.com/logout.php?next=[redirect_uri]&access_token=[access_token]
    

    Which worked for me.

    0 讨论(0)
提交回复
热议问题