0
我试图使用Oauth gem来访问Twitter API,因此我可以制作一个twitter bot,按照以下教程:http://tutorials.jumpstartlab.com/projects/microblogger.html 我从Twitter获得一个PIN码并输入它。但它以某种方式失败了。 这里是我得到的错误,当我运行程序:错误:oauth_token_secret已弃用
Initializing MicroBlogger
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jumpstart_auth-0.4.0/lib/ju
mpstart_auth.rb:44:in `block in twitter': [DEPRECATION] #oauth_token= is depreca
ted. Use #access_token= instead.
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/jumpstart_auth-0.4.0/lib/ju
mpstart_auth.rb:45:in `block in twitter': [DEPRECATION] #oauth_token_secret= is
deprecated. Use #access_token_secret= instead.
我使用Windows 7,使用Ruby版本1.9.3。
谢谢先生,那个错误让我很烦,现在它已经没了:) – Moltas 2014-09-10 18:34:42