Yep, that worked for me: added this in devise.rb:
config.omniauth :facebook, FB_APP_ID, FB_APP_SECRET, {:scope => '.....', :client_options => {:ssl => {.....}, :display => 'popup', :setup => true, :site => '<a href="https://graph.facebook.com" rel="nofollow">https://graph.facebook.com</a>, :authorize_url => '<a href="https://www.facebook.com/dialog/oauth" rel="nofollow">https://www.facebook.com/dialog/oauth</a>, :token_url => '/oauth/access_token'}}