Click here to Skip to main content
12,623,776 members (33,298 online)
Rate this:
 
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 4:42am
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

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

Solution 1

  Permalink  
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.161128.1 | Last Updated 5 Oct 2012
Copyright © CodeProject, 1999-2016
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