title: Get similar pages by category and their likes using Facebook graph API
body: <p>I am using this link in Facebook grap explorer and it works</p>
  
  <p><a href="https://graph.facebook.com/v2.3/search?q=education?education&amp;type=page" rel="nofollow">https://graph.facebook.com/v2.3/search?q=education?education&amp;type=page</a></p>
  
  <p>But I am trying to access the same data in the given below code without giving id because id gives an error of non existing feilds</p>
  
  <pre><code>    function Getpage() 
      {
          FB.api("/search?q=education?education&amp;type=page", function (response) {
  
              });
  
          }
  </code></pre>
  
  <p>It does not work but same if I try accessing in that way it gives takes http/graph/facebook/ as id </p>
  
  <pre><code>    function Getpage() 
      {
          FB.api(" /https://graph.facebook.com/v2.3/search?q=education?education&amp;type=page", function (response) {
              var i = 25;
              var g = response.data[i];
          });
  
          }
  </code></pre>
  
  <p>It doesn't return the same data as in graph explorer the above link returns.</p>
  
  <p>I tried access token even but using javascript how should I get similar pages of same category? Like this the first link returns in graph explorer</p>
  
  <pre><code>        {
      "data": [
         {
          "category": "Education", 
    "name": "EducationUSA", 
    "id": "72457958318"
  }, 
  {
    "category": "Education", 
    "category_list": [
      {
        "id": "108051929285833", 
        "name": "College &amp; University"
      }, 
      {
        "id": "163917800330437", 
        "name": "Admissions Training"
      }, 
      {
        "id": "181053558607965", 
        "name": "Youth Organization"
      }
    ], 
    "name": "Education Diffusion", 
    "id": "180364528818411"
     }, 
  </code></pre>
  
  <p>How to get their likes also?</p>