title: FB.api error.. "An access token is required to request this resource"
body: <pre><code>FB.api('/1354376857/groups', function(response){
       Data = response.name;
       alert(Data);
  
       if (response.error) {
          alert(response.error.message);
       }  
  });
  </code></pre>
  
  <p>The outputted error message reads: "An access token is required to request this resource" and Data content is undefined for my Facebook app. The user is successfully logged in and the "user_groups" permission has been approved by the user.</p>
  
  <p>I was under the impression that FB.api automatically sets the access token. Any thoughts on why this error is occurring?</p>