Support » Plugins » [Plugin: Facebook connect] cannot log out

  • Resolved eddioot


    I’ve got a problem that is driving me crazy. I’m using facebook connect to let users login to my website and that works great.

    The only problem is that ones a user is logged on, he is doomed to stay logged in. Logging out does not work 🙁

    I am using the default:

    <?php echo wp_logout_url(); ?>

    In the source code i see is tries to do something with facebook:

    <a href="" title="Logout">Logout</a>

    But the user still stays logged in.

    I found this and tried it but that did’nt work also:

    I created a file called fb_logout.php and placed it in the root of my website. In this file i put:

    header('Location:'); ?>

    In my header i put:

    <a href="#" onclick="FB.Connect.logoutAndRedirect('/fb_logout.php')">Sign out</a>

    This doesn’t work but maybe i am doing something wrong.

    You guys have any advise on this?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Facebook connect] cannot log out’ is closed to new replies.