title: Facebook php SDK getLogoutUrl() problem
body: <p>When i want to logout users from my website i use:</p>
  
  <pre><code>$logoutUrl = $facebook-&gt;getLogoutUrl(array('next' =&gt; 'logout.php'));
  </code></pre>
  
  <p>And <code>$logoutUrl</code> displays correct link, however it's not redirecting me to the url specified in next. It redirects me to the page that started logout.</p>
  
  <p>As it looks that there is very much articles on internet, but they all use same methods and for many people those don't work. 
  How to properly logout user from facebook and then perform my regular logout script?</p>
  
  <p><strong>EDIT:</strong>  This worked but still want some non-javascriptSDK based logout.</p>
  
  <pre><code>&lt;a id="logout" href="logout.php" onclick="FB.logout(function(response) { window.location = 'logout.php' }); return false;" title="&lt;?php echo $lang['logout']; ?&gt;"&gt;&lt;?php echo $lang['logout']; ?&gt;&lt;/a&gt;
  </code></pre>