implemented Twitter api access with user input info