title: The Access Token is Valid but We get OAuthException: An active access token error
body: <p>We've been working on an application for about 2 months, and everything was going perfectly. 
  we were using PHP SDK and offline mode in permissions for login 
  But since some days ago after recent changes in Facebook api and removing offline mode we started facing the problem of "Uncaught OAuthException: An active access token must be used to query information about the current user." </p>
  
  <p>The main problem is that it does happen after a while working in our app (about 10 mins) but at the same time when we check the validity of the token via <a href="https://developers.facebook.com/tools/debug/access_token" rel="nofollow">this link</a>
  we see that the token is still valid on the other hand the cookie does still exist and it doesn't expire but we get this error : 
  "Uncaught OAuthException: An active access token must be used to query information about the current user"</p>
  
  <p><a href="http://developers.facebook.com/bugs/238039849657148" rel="nofollow">I've already visited this link</a> 
  and I downloaded the latest version but it didn't help could anyone help us please where might be making mistake? </p>
  
  <hr>
  
  <p>Thanks for responses, I think same as yacon 
  it seems there's a bug when accessing facebook->api(/me) at the moment we are handling 
  some parts of the app with javascript which is a real headache to use javascript sdk 
  and PhP sdk alongside with each other </p>