Yeah I've been trying to fix that. Facebook isn't making it easy... if anybody is familiar with the Facebook javascript SDK holler. 200 points :)
FB.logout();
Edit: For reference I would recommend reading this page thoroughly because there are some other cool things you can do with the SDK:I'm testing it out on my dev, and the login button is not turning into a logout button even when I am logged in via facebook.
Also, FB.logout(); is logging the user out of facebook, which probably isn't desirable.
Is this only happening on my end?
If you want to only log someone out of your site, you've probably got a session variable of some sort you want to destroy, right?