RailsCasts Pro episodes are now free!

Learn more or hide this

Timo Kuisma's Profile

GitHub User: tkuisma

Comments by Timo Kuisma



Is there a way to use the same Facebook app for both production and development?

I mean, in FB app settings you can provide only one Site URL, which for development is usually http://localhost:3000/ and for production your actual URL where the application is hosted.

Of course you could create a separate "development facebook app" with a different APP ID and SECRET and localhost:3000 as login callback url, but it would be nice, if OmniAuth Facebook and the same fb app could handle both development and production.