Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In my website user can login through FaceBook login button and Sign in button(of my website). I want that when user clicks sign out button of my website he must be logged out from facebook also.


Also if someone can tell me how to delete cookies of facebook, which is named as "c_user"
Posted
Comments
Sandeep Mewara 4-Oct-12 16:39pm    
Tried anything so far?
Avinash8 14-Oct-12 23:33pm    
FB.logout(function(response) {
// user is now logged out
});

i have written the above code on my .aspx page, and called the above script on my websites sign out button click event, but its not working.

1 solution

 
Share this answer
 
Comments
Avinash8 11-Oct-12 6:49am    
I have written the code

FB.logout(function(response) {
// user is now logged out
});

on my aspx page bt nothing happens.
i think i m missing something so if u can give me an example, it will help me more.

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