Logout from FaceBook website using Graph API in ASP.Net

Last Reply one year ago By Mudassar

Posted one year ago



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)


Posted one year ago

Hi dilipsharm,

Will you please explain with more details. Not working means what?

Are you getting any error?

Posted one year ago



whe click on logout button then it forwaded to facebook.com page and still facebook working with login

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