public function http($url, $method, $params = NULL, $multi = false) { $params = array_merge($params, array('access_token' => $this->token->key)); $response = parent::http($url, $method, $params, $multi); if ($this->format === 'json' && $this->decode_json) { $response = json_decode($response, true); } return $response; }