omniauth, facebook on ruby 1.9.2 and rails 3.0.0

Hi,

I try to use omniauth to authenticate with facebook account, as in Ryan Bates tutorial #235 OmniAuth Part 1 - RailsCasts. I have followed all steps in that tutorial. When point my browser to http://localhost:3000/auth/facebook it indeed redirects me to facebook to login. But on callback, instead of being redirected to my url, I receive this error http://pastie.org/1588879

Can somebody help me please?

Eugen Ciur wrote in post #982896:

I try to use omniauth to authenticate with facebook account, as in Ryan Bates tutorial #235 OmniAuth Part 1 - RailsCasts. I have followed all steps in that tutorial. When point my browser to http://localhost:3000/auth/facebook it indeed redirects me to facebook to login. But on callback, instead of being redirected to my url, I receive this error http://pastie.org/1588879

Were you able to successfully generate your access token for authorization to use OAuth2 with FaceBook? I need to ask since you didn't mention that here.