title: Facebook App access token to manage pages without having user to login to get user access token
body: <p>I've read alot of topis, alot of docs. Literally i read them since morning.</p>
  
  <p>From what I got there are few kind types of tokens: App token, App access token, User Token, User access token, Page access token.</p>
  
  <p>While tokens with <code>access</code> allow some kind of action. the <code>non-access</code> tokens seem to allow me to generate a token of <code>access</code> type. Corrent me if I'm wrong. Docs are terrible and some answers are outdated due to facebook updates.</p>
  
  <p>So basically, what I look for is to be able to:</p>
  
  <pre><code>$permanent_token = 'A token, which will allow me to generate access tokens whenever I request';
  // And that token could be used for:
  file_get_contents('https://graph.facebook.com/v2.1/me/accounts/?access_token='.$permanent_token);
  // Some code here to extract page access token and write it to variable $app_token
  file_get_contents('https://graph.facebook.com/v2.1/{page_id}/ratings/?access_token='.$app_token);
  // Note: I may've missed some steps... those are the ones I lack I think.
  </code></pre>
  
  <p><strong>Without</strong> having to make any user (including me) to login. It's more like I need some kind of API Key and method to generate access token.</p>
  
  <p>And would prefer <strong>NOT to use</strong> facebook SDK. Just pure graph url calls.</p>