This project is read-only.

logout function

May 17, 2011 at 6:59 AM

is there an logout function?

Jun 3, 2011 at 4:47 AM
Edited Jun 3, 2011 at 4:50 AM

Hi, you can try the following, somehow it works for me, and it is based on 1 of the post I saw but I couldn't recall which specific link.

The functionality on the below code does it you click on the image (a hyperlink) and it will log out your facebook account, in otherwords it clears up your facebook cookie session.


Include the below codes in BOLD into your ASPX page.


<html xmlns="" xmlns:fb="">


    <script type="text/javascript">       

function FBlogout() {           

try {               




}, 'default.aspx');           

} catch (e) {               

// your exception message       




<script src=""          type="text/javascript">





<a href="#" onclick="FBlogout(); return false;"><img src="images/logout_small.gif" /></a><br />

    <script type="text/javascript">       

FB.init("YOUR APP KEY", "xd_receiver.htm");   




Inside the xd_receiver.htm file, within the Body tag, include the below linke

       <script src="" type="text/javascript"></script>