RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: gasova
Site: http://www.asova.com
Does someone has an example with localized facebook login page? The following doesn't work with omniauth-facebook gem
Rails.application.config.middleware.use OmniAuth::Builder do provider :facebook, 'FB_TOKEN', 'FB_SECRET', :authorize_params => { :locale => 'tr_TR', } end
it should produce this link
https://www.facebook.com/login.php?{...}&display=page&locale=tr_TR
but produces instead
https://www.facebook.com/login.php?{...}&display=page
Because of that the facebook login page isn't localized
Does someone has an example with localized facebook login page?
The following doesn't work with omniauth-facebook gem
it should produce this link
but produces instead
Because of that the facebook login page isn't localized