Logout from FaceBook website using Graph API in ASP.Net

Last Reply one year ago By Mudassar

Posted one year ago

Hello

 

Facebook logout Code is not working in C#

 i am using https://www.aspsnippets.com/Articles/How-to-logout-from-FaceBook-website-using-Graph-API-in-ASPNet.aspx

 

 

protected void Logout(object sender, EventArgs e)
{
    FaceBookConnect.Logout(Request.QueryString["code"]);
}

 

You are viewing reply posted by: Mudassar one year ago.
Posted one year ago

The code does not log you from FaceBook, only you logout of FaceBook APP.

There is no code present that can automatically log you inside FaceBook or do Logout from FaceBook website