lib/Freebird/Services/freebird/RequestHandler.php
public function request($path, $options)
    {
        // Ensure we have options
        $options ?: array();

        $headers = array(
            'Authorization' => 'Bearer ' . $this->bearer
        );

        // GET requests get the params in the query string
        $request = $this->client->get($path, $headers);
        $request->getQuery()->merge($options);

        // Guzzle throws errors, but we collapse them and just grab the
        // response, since we deal with this at the \Tumblr\Client level
        try {
            $response = $request->send();
        } catch (\Guzzle\Http\Exception\BadResponseException $e) {
            $response = $request->getResponse();
        }

        // Construct the object that the Client expects to see, and return it
        $obj = new \stdClass;
        $obj->status = $response->getStatusCode();
        $obj->body = $response->getBody();
        $obj->headers = $response->getHeaders();
        $obj->json = $response->json();

        return $obj;
    }
public function request($path, $options)
    {
        // Ensure we have options
        $options ?: array();

        $headers = array(
            'Authorization' => 'Bearer ' . $this->bearer
        );

        // GET requests get the params in the query string
        $request = $this->client->get($path, $headers);
        $request->getQuery()->merge($options);

        // Guzzle throws errors, but we collapse them and just grab the
        // response, since we deal with this at the \Tumblr\Client level
        try {
            $response = $request->send();
        } catch (\Guzzle\Http\Exception\BadResponseException $e) {
            $response = $request->getResponse();
        }

        // Construct the object that the Client expects to see, and return it
        $obj = new \stdClass;
        $obj->status = $response->getStatusCode();
        $obj->body = $response->getBody();
        $obj->headers = $response->getHeaders();
        $obj->json = $response->json();

        return $obj;
    }
Make a request with this request handler

@param string $path    Twitter resource path
@param array  $options the array of params to pass to the resource

@return \stdClass response object