> Have you tried using the API Key and App Secret from Facebook, rather than the App ID and App Secret?
> --
> Thomas Mango
> tsma...@gmail.com
> On Tuesday, June 28, 2011 at 12:16 PM, Roman wrote:
> > I get an error when i try to login with facebook via omniauth gem ver.
> > 0.2.6.
> > It shows invalid_credentials.
> >http://localhost:3000/auth/failure?message=invalid_credentials
> > I use this code in initializer/omniauth.rb
> > Rails.application.config.middleware.use OmniAuth::Builder do
> > provider :facebook,
> > "app_id",
> > "app_secret",
> > {:scope=>[:email,:user_birthday],:client_options =>
> > {:ssl => {:ca_path => "/etc/ssl/certs"}} }
> > end
> > Started GET "/auth/facebook" for 127.0.0.1
> > Started GET "/auth/facebook/callback?
> > code=0b49kydcswTkMNfx_C9BwhE0Z-
> > g9kO_oE0aJ2F4ghy0.eyJpdiI6IjlYaXRxTF9NdFBGbWtBUk9ZUXVSdUEifQ.DsDgdFUpuC6Z_B _m8j1MiAN1cQRS_Mcr9VvvZvSurs0wUyCRAvjDDEYjE6b6_VUF0KNkeLUy9lJCF2IF2BBGOeAt9 5fggdI49jZKwqo842z3cdsJQ2kZTQcQrs0jinxn"
> > for 127.0.0.1
> > This all i get. I double checked app_id and app_secret all is ok and
> > tried php version it works fine. So there is no error in this.
> > So how i can find more info about an error at least ? or how this
> > problem can be fixed ?