How to logout of Facebook using javascript SDK
<p>Consider the following 2 Scenario:</p>

<p>1) I have a Facebook <strong>Logout &amp; Login Button</strong> on my application(say myApp) and i login into Facebook using <strong>Login Button</strong>(it prompts me facebook login dialogue and login is successful). Now i open a new browser tab and go to <strong>www.facebook.com</strong>, It opens up my Facebook account. Now i come to my application(myApp) and click the Facebook <strong>Logout button</strong> and i see that i am able to log out of <strong>www.facebook.com</strong>.....This works fine no doubt.</p>

<p>Now consider my second scenario </p>

<p>2) I open two tabs one is <strong>myApp</strong> and second is <strong>www.facebook.com</strong>. I login into my Facebook account from <strong>www.facebook.com</strong> first. now i come to <strong>myApp</strong> and refresh it and hit Facebook <strong>Logout Button</strong>. This time i am not logged out from <strong>www.facebook.com</strong>.</p>

<p>Considering that the Facebook <strong>Logout button</strong> on <strong>myApp</strong> is implemented using Javascript SDK  <code>FB.logout(function(){})</code> i have my Facebook <strong>appId</strong> which is configured correctly.</p>

<p><strong>So my Big Question is</strong>: </p>

<p>Is it possible to logout a user from www.facebook.com without considering <strong>appId</strong> which is required in javascript SDK config ??</p>

<p><strong>or</strong> </p>

<p>Is it possible to invalidate a <strong>User Access Token</strong> in ordered to kill facebook brower session.</p>