I am working on a Rails 4 application. On my laptop, development runs in localhost:3000 . The actual domain domain is roomidex.com .
How can I customize the Facebook app to work in production and development?
Here is the current configuration:
App Domains: roomidex.com Website With Facebook Login: Site URL: http://www.roomidex.com
When I try to log in to Facebook on localhost: 3000, I get this unsurprising error:
{ "error": { "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.", "type": "OAuthException", "code": 191 } }
ruby-on-rails facebook ruby-on-rails-4 omniauth
Don P Jan 03 '14 at 18:42 2014-01-03 18:42
source share