Hacker News new | past | comments | ask | show | jobs | submit login

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



The 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?...... with the up-to-date URL: "https://www.facebook.com/dialog/oauth?....... They removed support for some parameters without fixing the redirect from their old endpoint.


This looks to have resolved it for us as well. Thank you.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: