title: Facebook Login As App, access token doesn't work
body: <p>I am trying to get events from a Facebook page via Ajax.</p>
  
  <p>But there should be no login process for user. For this reason I am trying to implement "Login as an App" by following the the documentation on <a href="https://developers.facebook.com/docs/howtos/login/login-as-app/" rel="nofollow">this page</a>.</p>
  
  <p>I am getting the access token correctly by </p>
  
  <pre><code>https://graph.facebook.com/oauth/access_token?
      client_id=YOUR_APP_ID
     &amp;client_secret=YOUR_APP_SECRET
     &amp;grant_type=client_credentials
  </code></pre>
  
  <p>However when I try to query Facebook Graph API with this access token I am getting an empty result set.</p>
  
  <p>This is an example request;</p>
  
  <pre><code>https://graph.facebook.com/FAN_PAGE/events?access_token=ACCESS_TOKEN
  </code></pre>
  
  <p>I know the result set should not be empty because the same request with Graph Explorer returns the correct values.</p>
  
  <p>Even a request like  <code>https://graph.facebook.com/FAN_PAGE/events?access_token=ACCESS_TOKEN_FROM_GRAPH_EXPLORER</code> works correctly.</p>
  
  <p>Any idea on whats going on? How can I get this to work correctly?</p>