code: public static Request newPlacesSearchRequest(Session session, Location location, int radiusInMeters,
              int resultsLimit, String searchText, final GraphPlaceListCallback callback) {
          if (location == null && Utility.isNullOrEmpty(searchText)) {
              throw new FacebookException("Either location or searchText must be specified.");
          }
  
          Bundle parameters = new Bundle(5);
          parameters.putString("type", "place");
          parameters.putInt("limit", resultsLimit);
          if (location != null) {
              parameters.putString("center",
                      String.format(Locale.US, "%f,%f", location.getLatitude(), location.getLongitude()));
              parameters.putInt("distance", radiusInMeters);
          }
          if (!Utility.isNullOrEmpty(searchText)) {
              parameters.putString("q", searchText);
          }
  
          Callback wrapper = new Callback() {
              @Override
              public void onCompleted(Response response) {
                  if (callback != null) {
                      callback.onCompleted(typedListFromResponse(response, GraphPlace.class), response);
                  }
              }
          };
  
          return new Request(session, SEARCH, parameters, HttpMethod.GET, wrapper);
      }
docs: Creates a new Request that is configured to perform a search for places near a specified location via the Graph
  API. At least one of location or searchText must be specified.
  
  @param session
  the Session to use, or null; if non-null, the session must be in an opened state
  @param location
  the location around which to search; only the latitude and longitude components of the location are
  meaningful
  @param radiusInMeters
  the radius around the location to search, specified in meters; this is ignored if
  no location is specified
  @param resultsLimit
  the maximum number of results to return
  @param searchText
  optional text to search for as part of the name or type of an object
  @param callback
  a callback that will be called when the request is completed to handle success or error conditions
  @return a Request that is ready to execute
  
  @throws FacebookException If neither location nor searchText is specified