RailsCasts Pro episodes are now free!

Learn more or hide this

Paul Lee's Profile

GitHub User: joonhalee

Comments by Paul Lee


Hello everyone,

I followed the tutorial and got fb-connect working with localhost:3000. I am using version 1.4.0 as suggested in the comment above and am not using javascript popup. Now, when I uploaded my work on development server and click "sign in with facebook", I get

No route matches [GET] "/auth/facebook"

The only difference between localhost and dev server is the app on dev server has dev.mydomain.com:3000 as its domain and that's the domain I entered on fb app setting page. Is having a subdomain the problem? Any help would be appreciated.

Here are gems on both my localhost and dev server. Thanks!

Using oauth2 (0.8.0)
Using omniauth (1.1.0)
Using omniauth-oauth2 (1.0.3)
Using omniauth-facebook (1.4.0)