diff --git a/backends/twitter/Requests/OAuthFlow.cpp b/backends/twitter/Requests/OAuthFlow.cpp index 880bcf1f8f7c61ae8558ec1db40559c4f75e6d72..8bfbbbe893ac02d63042089886053e999653e825 100644 --- a/backends/twitter/Requests/OAuthFlow.cpp +++ b/backends/twitter/Requests/OAuthFlow.cpp @@ -16,13 +16,3 @@ void OAuthFlow::finalize() np->OAuthFlowComplete(user, twitObj); } } - -/*std::string authUrl; -if (sessions[user]->oAuthRequestToken( authUrl ) == false ) { - LOG4CXX_ERROR(logger, "Error creating twitter authorization url!"); - handleLogoutRequest(user, username); - return; -} -handleMessage(user, "twitter-account", std::string("Please visit the following link and authorize this application: ") + authUrl); -handleMessage(user, "twitter-account", std::string("Please reply with the PIN provided by twitter. Prefix the pin with 'pin:'. Ex. 'pin: 1234'")); -connectionState[user] = WAITING_FOR_PIN;*/