if (!($request_token_info = $m->getStoredInfo())) {
        echo 'Error: Unable to locate request token information. Try requesting it again.', PHP_EOL;
        $m->printR($m->getLog());
        exit;
    }
    if (empty($request_token_info)) {
        echo 'Error: no request information, info is empty. Try requesting it again.', PHP_EOL;
        exit;
    }
    if ($request_token_info && is_array($request_token_info)) {
        $o->setToken($request_token_info['oauth_token'], $request_token_info['oauth_token_secret']);
        if (empty($_GET['oauth_verifier'])) {
            echo 'Missing oauth_verifier.', PHP_EOL;
            exit;
        }
        $response = $o->getAccessToken('https://api.login.yahoo.com/oauth/v2/get_token', NULL, $_GET['oauth_verifier']);
        if (!$response) {
            echo 'Error: Received invalid access token. Try again.', PHP_EOL;
            exit;
        }
        $m->saveAccess($response, $_GET['oauth_verifier']);
        // Here means we likely have a nice access_token, so are ready to rock
        header('Location: ' . BASEURL);
        exit;
    }
} catch (OAuthException $e) {
    echo '<pre>';
    echo 'Response: ', $e->lastResponse, PHP_EOL;
    print_r($e);
    print_r($o->debugInfo);
}