RailsCasts Pro episodes are now free!

Learn more or hide this

Kumar Navneet's Profile

GitHub User: kumarnavneet2006

Comments by Kumar Navneet

Avatar

I am using rails 3.2.1 omniauth-twitter (0.0.9)

But in twitter callback phase I receive this error

TypeError "can't convert nil into String"

omniauth-twitter (0.0.9) lib/omniauth/strategies/twitter.rb:22:in +'
omniauth-twitter (0.0.9) lib/omniauth/strategies/twitter.rb:22:in
block in class:Twitter'
omniauth (1.1.4) lib/omniauth/strategy.rb:106:in instance_eval'
omniauth (1.1.4) lib/omniauth/strategy.rb:106:in
block in compile_stack'
omniauth (1.1.4) lib/omniauth/strategy.rb:105:in each'
omniauth (1.1.4) lib/omniauth/strategy.rb:105:in
inject'
omniauth (1.1.4) lib/omniauth/strategy.rb:105:in compile_stack'
(eval):7:in
info_stack'
omniauth (1.1.4) lib/omniauth/strategy.rb:322:in info'
omniauth (1.1.4) lib/omniauth/strategy.rb:335:in
auth_hash'
omniauth (1.1.4) lib/omniauth/strategy.rb:362:in callback_phase'
omniauth-oauth (1.0.1) lib/omniauth/strategies/oauth.rb:58:in
callback_phase'
omniauth (1.1.4) lib/omniauth/strategy.rb:226:in callback_call'
omniauth (1.1.4) lib/omniauth/strategy.rb:182:in
call!'
omniauth (1.1.4) lib/omniauth/strategy.rb:164:in call'
omniauth (1.1.4) lib/omniauth/strategy.rb:184:in
call!'
omniauth (1.1.4) lib/omniauth/strategy.rb:164:in call'
omniauth (1.1.4) lib/omniauth/builder.rb:49:in
call'

I have already updated omniauth-twitter gem and it remains at the same version mentioned above.

What could be the possible reason?