title: Facebook search from android
body: <p>I was trying to send a search query to facebook using facebook android sdk according to their reference.  However, the Graph request is rejected by the following response.</p>
  
  <pre><code>    Code:
      LoginManager.getInstance().registerCallback(callbackManager,
              new FacebookCallback&lt;LoginResult&gt;() {
                  @Override
                  public void onSuccess(LoginResult loginResult) {
                      Bundle params = new Bundle();
                      params.putString("type", "topic");
                      params.putString("q", "Johny");
                      params.putString("fields", "id,name,page");
  
                      new GraphRequest(
                              AccessToken.getCurrentAccessToken(),
                              "/search",
                              params,
                              HttpMethod.GET,
                              new GraphRequest.Callback() {
                                  public void onCompleted(GraphResponse response) {
  
                                      System.out.println(response.toString());
                                  }
                              }
                      ).executeAsync();
                  }
  </code></pre>
  
  <blockquote>
    <p>Response:  {Response:  responseCode: 400, graphObject: null, error:
    {HttpStatus: 400, errorCode: 15, errorType: OAuthException,
    errorMessage: (#15) This method must be called with an app
    access_token.}}</p>
  </blockquote>
  
  <p>Does anyone facing the same issue with Android SDK by facebook ?</p>