if (oauthResponse.error == null) {
// We received the unauthorized tokens in the OAuth object - store it before we proceed
user.token = oauthResponse.token;
user.secret = oauthResponse.secret;
user.save();
redirect(twitt.redirectUrl(oauthResponse.token));
} else {
Logger.error("Error connecting to twitter: " + oauthResponse.error);
index();
}
}