title: how to correctly use search query of Facebook graph API (android)?
body: <p>I'm trying to run a query to search for locations using search query facebok graf api for android.</p>
  
  <p>If I try to run this query in the Graph API Explorer, I get <a href="http://2.firepic.org/2/images/2015-10/16/zl5zqymxegxa.png" rel="nofollow">this result</a>.</p>
  
  <p>But programmatically it is impossible. I try to make so:</p>
  
  <pre><code>new GraphRequest(AccessToken.getCurrentAccessToken(),"/search?q=coffee&amp;type=place&amp;center=37.76,-122.427",null,HttpMethod.GET,new GraphRequest.Callback()
      {
          public void onCompleted(GraphResponse response)
          {
              Log.v("HelloFacebook", response.toString());
          }
      }).executeAsync();
  }
  </code></pre>
  
  <p>i get nothing (param distance must be number)</p>
  
  <p>if I try without distance i get too nothing, but another message (An access token is required to request this resourse and too)</p>
  
  <p>What could be the problem?</p>