3 ms·
For omniauth/rails people out there, we found this to work. fb_options[:client_options] = { :site => 'https://graph.facebook.com', :authoriz
by bleonard 14y ago
For omniauth/rails people out there, we found this to work.
fb_options[:client_options] = {
:site => 'https://graph.facebook.com',
:authorize_url => 'https://www.facebook.com/dialog/oauth',
:token_url => '/oauth/access_token'
}
provider :facebook, api_key, secret_key, fb_options
- mpd 14y agoThis looks to have resolved it for us as well. Thank you.
- hayksaakian 14y agoThe explanation: > (according to) Andrew Fowler (from the comment thread on facebook) The solution is to replace your OAuth Dialog URL: "https://graph.facebook.com/oauth/authorize?...... https://graph.facebook.com/oauth/authorize?...... with the up-to-date URL: "https://www.facebook.com/dialog/oauth?...... https://www.facebook.com/dialog/oauth?....... They removed support for some parameters without fixing the redirect from their old endpoint.