title: ERROR: Unsupported get request. Please read the Graph API documentation
body: <p>I have been trying to access the information about my Facebook PAGE using <code>cURL</code>. I passed the url me/accounts in Graph Explorer which shows some data as follows: </p>
  
  <pre><code>{
    "data": [
      {
        "access_token": "tokenString", 
        "category": "Small business", 
        "name": "myPageName", 
        "id": "xxx", 
        "perms": [
          "ADMINISTER", 
          "EDIT_PROFILE", 
          "CREATE_CONTENT", 
          "MODERATE_CONTENT", 
          "CREATE_ADS", 
          "BASIC_ADMIN"
        ]
      }
    ], 
    "paging": {
      "cursors": {
        "before": "MTM4NzYwMjM5NDg5NTUzOQ==", 
        "after": "MTM4NzYwMjM5NDg5NTUzOQ=="
      }
    }
  }
  </code></pre>
  
  <p>But when I tried to get the same thing in cURL and run through terminal it gives me an error "<strong>Unsupported GET request</strong>"</p>
  
  <blockquote>
    <p><strong>Code:</strong></p>
  </blockquote>
  
  <pre><code>&lt;?php
    $url='https://graph.facebook.com/v2.3/me/accounts';
    $ch=curl_init();
    CURL_SETOPT($ch,CURLOPT_URL,$url);
    CURL_SETOPT($ch,CURLOPT_RETURNTRANSFER, 1);
    $json=json_decode(curl_exec($ch));
    var_dump($json);
  ?&gt;
  </code></pre>
  
  <blockquote>
    <p><strong>Error:</strong></p>
  </blockquote>
  
  <pre><code>object(stdClass)#1 (1) {
    ["error"]=&gt;
    object(stdClass)#2 (3) {
      ["message"]=&gt;
      string(114) "Unsupported get request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api"
      ["type"]=&gt;
      string(20) "GraphMethodException"
      ["code"]=&gt;
      int(100)
    }
  }
  </code></pre>
  
  <p>Page permission: <code>manage_pages,publish_pages</code></p>
  
  <p>I checked for age restrictions: It is open to all.</p>
  
  <p>Then where am I going wrong ? Thanks for any help</p>