sdk/src/com/socialize/facebook/Facebook.java
public String request(Bundle parameters)
            throws MalformedURLException, IOException {
        if (!parameters.containsKey("method")) {
            throw new IllegalArgumentException("API method must be specified. "
                    + "(parameters must contain key \"method\" and value). See"
                    + " http://developers.facebook.com/docs/reference/rest/");
        }
        return request(null, parameters, "GET");
    }
public String request(Bundle parameters)
            throws MalformedURLException, IOException {
        if (!parameters.containsKey("method")) {
            throw new IllegalArgumentException("API method must be specified. "
                    + "(parameters must contain key \"method\" and value). See"
                    + " http://developers.facebook.com/docs/reference/rest/");
        }
        return request(null, parameters, "GET");
    }
Make a request to Facebook's old (pre-graph) API with the given
parameters. One of the parameter keys must be "method" and its value
should be a valid REST server API method.

See http://developers.facebook.com/docs/reference/rest/

Note that this method blocks waiting for a network response, so do not
call it in a UI thread.

Example:
<code>
Bundle parameters = new Bundle();
parameters.putString("method", "auth.expireSession");
String response = request(parameters);
</code>

@param parameters
Key-value pairs of parameters to the request. Refer to the
documentation: one of the parameters must be "method".
@throws IOException
if a network error occurs
@throws MalformedURLException
if accessing an invalid endpoint
@throws IllegalArgumentException
if one of the parameters is not "method"
@return JSON string representation of the response