public function getAccessToken($oauth_verifier = false)
    {
        $parameters = [];
        if (!empty($oauth_verifier)) {
            $parameters['oauth_verifier'] = $oauth_verifier;
        }
        $code = $this->request('POST', $this->url('oauth/access_token', ''), $parameters);
        if (isset($this->response['code']) && $this->response['code'] == 200 && !empty($this->response['response'])) {
            $get_parameters = $this->response['response'];
            $token = [];
            parse_str($get_parameters, $token);
            // Reconfigure the tmhOAuth class with the new tokens
            $this->reconfigure(['token' => $token['oauth_token'], 'secret' => $token['oauth_token_secret']]);
            return $token;
        }
        throw new \Exception('No access token found.');
    }