Issue with Facebook JS API, revokeAuthorization <p>I am trying to integrate FB connect into our user profile screen. Although, I'm having an issue with FB.ApiClient.revokeAuthorization.</p> <p><a href="http://pastie.org/921942" rel="nofollow noreferrer">http://pastie.org/921942</a></p> <p>The basic problem is that I revoke the auth at line 44 after the user clicks the disconnect button.</p> <p>After that, all subsequent API calls don't have a valid session to even check user status. I've tried wrapping blocks in a FB.Connect.forceSessionRefresh block, but then the code will never be called at all.</p> <p>I'm not sure what the proper workflow should be for this purpose. Right now it's basically...</p> <ol> <li>User arrives at profile NOT connected to the application.</li> <li>User clicks on the connect button.</li> <li>Once connected, DOM manipulation occurs to hide the connect button and add in a disconnect button.</li> <li>User clicks on the disconnect button.</li> <li>User's authorization to the application is revoked and (it seems) the API session to the FB server is invalidated.</li> <li>DOM manipulation occurs to hide the disconnect button and readd the connect button.</li> <li>User clicks on the connect button.</li> <li>Once connected, the FB.Connect.get_loggedInUser() doesn't return the actual user.</li> </ol>