title: Facebook PHP SDK clear session data?
body: <p>I want people to be able to remove my app from their facebook-account from my app. </p>
  
  <p>This is easily done with:</p>
  
  <pre><code>$fb-&gt;api('/'.$fbUid.'/permissions','DELETE');
  </code></pre>
  
  <p>The problem is that if the user loads another page on my website the facebook php sdk still seem to think that the user is "logged in". I think this is because the facebook php sdk (v 3.1.1) stores user data in sessions.</p>
  
  <p>Is there a good way of clearing these sessions? (i mean a best practice way, of course i could loop through the sessions and delete all beginning with "fb_").</p>
  
  <p>There is a $fb->clearAllPersistentData() but it's protected.</p>
  
  <p>Or will i actually have to redirect the user to the logoutUrl to do this?</p>
  
  <p>EDIT: Redirecting to logoutUrl doesn't make any difference, i still have the sessions variables.</p>