scholarslab / prism

Prism is a tool for collective interpretation. It's an ongoing experiment by the Praxis Program at the University of Virginia Scholars' Lab
http://prism.scholarslab.org/
Apache License 2.0
25 stars 15 forks source link

Facebook Graph API Upgrade #337

Closed walshbr closed 7 years ago

walshbr commented 7 years ago

"Your App, Prism, is currently accessing Graph API v2.3 which will reach the end of its 2-year lifetime on 10 July, 2017. We estimate 1 endpoint that Prism calls will be impacted by this change and may stop working after the automatic upgrade push. To ensure a smooth transition, please migrate all calls to Graph API v2.4 or higher. Use the API Upgrade Tool to understand exactly how this change will impact your app.

Note: If you do not see any impacted calls in the API Upgrade Tool, your app/code may not be affected by this upgrade.

Visit our changelog to see the full list of changes in all Graph API versions.

You can view this and other Developer Notifications related to your app, in the App Dashboard."

Looking at our calls, I don't see anywhere that we're still calling 2.3 - I upgraded to 2.8 last time I took a look at this. But is possible that this line from prism/devise.rb could be causing it:

config.omniauth :facebook, ENV["FACEBOOK_KEY"], ENV["FACEBOOK_SECRET"],
    {
      :scope => 'email',
      :client_options => 
        { 
          :ssl => {:ca_file => '/usr/lib/ssl/certs/ca-certificates.crt'},
          :site => 'https://graph.facebook.com/v2.8',
          **:authorize_url => "https://www.facebook.com/v2.1/dialog/oauth"**
        }
    }

I'll make a note to investigate more once I have ssh access to the Prism servers.

walshbr commented 7 years ago

Closing as we've removed Facebook login.