title: Facebook Graph API getAccessToken() not working
body: <p>I have been working on the Graph API for the past few days. When I try to make an API call using the PHP-SDK, i get an empty json object as a response. But when i copy the access token from the links that are provided by FB in <a href="http://developers.facebook.com/docs/reference/api/" rel="nofollow">http://developers.facebook.com/docs/reference/api/</a>, i get a json response.</p>
  
  <p>I assume that this is because of the Access Token that i am sending in the request.
  Help Appreciated.</p>
  
  <p>My Code : </p>
  
  <pre><code>include_once "fbInit.php";
  $access = $facebook-&gt;getAccessToken();
  $user = $facebook-&gt;getUser();
  echo $access;
  if(!$user)
  {
  $loginUrl = $facebook-&gt;getLoginUrl();
  header("Location:".$loginUrl);
  }
  $userWall = $facebook-&gt;api('/me/feed',array('access_token'=&gt;$access))   ;
  var_dump($userWall);
  </code></pre>