Skip to content

Commit

Permalink
Upgrade FB Graph API to version 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mwvolo authored Jul 9, 2019
1 parent a3b3b18 commit ea8d096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/initializers/omniauth.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
Rails.application.config.middleware.use OmniAuth::Builder do
provider :facebook, secrets[:facebook_app_id], secrets[:facebook_app_secret],
client_options: {
site: 'https://graph.facebook.com/v2.10',
authorize_url: "https://www.facebook.com/v2.10/dialog/oauth"
site: 'https://graph.facebook.com/v3.3',
authorize_url: "https://www.facebook.com/v3.3/dialog/oauth"
}
provider :twitter, secrets[:twitter_consumer_key], secrets[:twitter_consumer_secret]
provider :google_oauth2, secrets[:google_client_id], secrets[:google_client_secret]
Expand Down

0 comments on commit ea8d096

Please sign in to comment.