How can I provide a way for the user to logout from my site explicitly? For example, when they click the "Logout" link on my page, the user will be logout from my site which has FB integrated to and go to, say, the home page of my domain?





Appreciate if you can like this page if you find it useful! - Click "Like"

[update: the method below is broken.....anyone knows how this can be done now?]

The logout action can be done by having the user to access the page "".

And to redirect to your domain home page after the logout, you can use the following sample code:



Find my FAQ on Facebook Development useful? Download the PDF for all the FAQs HERE!