lib/tw/client/auth.rb in tw-0.3.8 vs lib/tw/client/auth.rb in tw-0.3.9
- old
+ new
@@ -30,10 +30,10 @@
end
end
def self.regist_user
consumer = OAuth::Consumer.new(Conf['consumer_key'], Conf['consumer_secret'],
- :site => 'http://twitter.com')
+ :site => 'http://api.twitter.com')
request_token = consumer.get_request_token
puts cmd = "open #{request_token.authorize_url}"
system cmd
print 'input PIN Number: '
verifier = STDIN.gets.strip