RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: kumarnavneet2006
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:inblock in class:Twitter' omniauth (1.1.4) lib/omniauth/strategy.rb:106:in instance_eval' omniauth (1.1.4) lib/omniauth/strategy.rb:106:inblock in compile_stack' omniauth (1.1.4) lib/omniauth/strategy.rb:105:in each' omniauth (1.1.4) lib/omniauth/strategy.rb:105:ininject' omniauth (1.1.4) lib/omniauth/strategy.rb:105:in compile_stack' (eval):7:ininfo_stack' omniauth (1.1.4) lib/omniauth/strategy.rb:322:in info' omniauth (1.1.4) lib/omniauth/strategy.rb:335:inauth_hash' omniauth (1.1.4) lib/omniauth/strategy.rb:362:in callback_phase' omniauth-oauth (1.0.1) lib/omniauth/strategies/oauth.rb:58:incallback_phase' omniauth (1.1.4) lib/omniauth/strategy.rb:226:in callback_call' omniauth (1.1.4) lib/omniauth/strategy.rb:182:incall!' omniauth (1.1.4) lib/omniauth/strategy.rb:164:in call' omniauth (1.1.4) lib/omniauth/strategy.rb:184:incall!' omniauth (1.1.4) lib/omniauth/strategy.rb:164:in call' omniauth (1.1.4) lib/omniauth/builder.rb:49:incall'
+' omniauth-twitter (0.0.9) lib/omniauth/strategies/twitter.rb:22:in
instance_eval' omniauth (1.1.4) lib/omniauth/strategy.rb:106:in
each' omniauth (1.1.4) lib/omniauth/strategy.rb:105:in
compile_stack' (eval):7:in
info' omniauth (1.1.4) lib/omniauth/strategy.rb:335:in
callback_phase' omniauth-oauth (1.0.1) lib/omniauth/strategies/oauth.rb:58:in
callback_call' omniauth (1.1.4) lib/omniauth/strategy.rb:182:in
call' omniauth (1.1.4) lib/omniauth/strategy.rb:184:in
call' omniauth (1.1.4) lib/omniauth/builder.rb:49:in
I have already updated omniauth-twitter gem and it remains at the same version mentioned above.
What could be the possible reason?
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"
I have already updated omniauth-twitter gem and it remains at the same version mentioned above.
What could be the possible reason?