Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
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 4-Oct-12 3:42am
Comments
Sandeep Mewara at 4-Oct-12 16:39pm
   
Tried anything so far?
Avinash8 at 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

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
Avinash8 at 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)

  Print Answers RSS
0 OriginalGriff 6,656
1 Sergey Alexandrovich Kryukov 6,400
2 CPallini 5,240
3 George Jonsson 3,584
4 Gihan Liyanage 2,625


Advertise | Privacy | Mobile
Web01 | 2.8.140921.1 | Last Updated 5 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100