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"]); }
Hi dilipsharm,
Will you please explain with more details. Not working means what?
Are you getting any error?
whe click on logout button then it forwaded to facebook.com page and still facebook working with login
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
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.