diff --git a/Manage-Tweets/create_tweet.rb b/Manage-Tweets/create_tweet.rb index 4fdb071..74d073a 100644 --- a/Manage-Tweets/create_tweet.rb +++ b/Manage-Tweets/create_tweet.rb @@ -31,7 +31,7 @@ def get_request_token(consumer) def get_user_authorization(request_token) puts "Follow this URL to have a user authorize your app: #{request_token.authorize_url()}" puts "Enter PIN: " - pin = gets.strip + pin = $stdin.gets.strip return pin end