code: @SuppressWarnings("deprecation")
      String requestImpl(String graphPath, Bundle params, String httpMethod) throws FileNotFoundException,
              MalformedURLException, IOException {
          params.putString("format", "json");
          if (isSessionValid()) {
              params.putString(TOKEN, getAccessToken());
          }
          String url = (graphPath != null) ? GRAPH_BASE_URL + graphPath : RESTSERVER_URL;
          return Util.openUrl(url, httpMethod, params);
      }
docs: Internal call to avoid deprecated warnings.