} else {
# we have no authentication tokens.
# ask the user to approve this app
$authorize_url = $rdio->begin_authentication($current_url);
# save the new token in our session
$_SESSION['oauth_token'] = $rdio->token[0];
$_SESSION['oauth_token_secret'] = $rdio->token[1];
header('Location: '.$authorize_url);
}