Click here to Skip to main content
15,891,513 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
My application is in vb.net and integrated with facebbok. Facebook id is used as openid with my application. facebook user logged in easily with my application. now issue with the facebook login user logout time. when user logout from the application its redirect to login page. Again click on facebbok login button its not ask for reenter userid and password and direct login with my application. so what was the issue come? i clear all cookies and caches of application. i used simple logout button of asp:button. i not used javascript sdk for connect facebbok with my application. all code done in code behind.

I used this link to connect facebbok with my application

http://osnapz.wordpress.com/2010/04/23/using-asp-net-with-facebooks-graph-api-and-oauth-2-0-authentication/
Posted

Have a look at Logout with facebook[^] and see if one of the suggested solutions works for you.

However if I understand it correctly there is no way to do it from code-behind.
 
Share this answer
 
This one works. I have tested it in my website

http://facebooksdk.blogspot.com/2011/06/facebook-logout.html
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900