From 2832576609e0d04faa1ad472e2bc339e4d8d7f5f Mon Sep 17 00:00:00 2001 From: Joseph Bielawski Date: Fri, 9 Feb 2024 17:12:50 +0100 Subject: [PATCH] Update API version for Facebook to latest available --- src/OAuth/ResourceOwner/FacebookResourceOwner.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/OAuth/ResourceOwner/FacebookResourceOwner.php b/src/OAuth/ResourceOwner/FacebookResourceOwner.php index f75b99e26..99457ea4b 100644 --- a/src/OAuth/ResourceOwner/FacebookResourceOwner.php +++ b/src/OAuth/ResourceOwner/FacebookResourceOwner.php @@ -103,10 +103,10 @@ protected function configureOptions(OptionsResolver $resolver) parent::configureOptions($resolver); $resolver->setDefaults([ - 'authorization_url' => 'https://www.facebook.com/v8.0/dialog/oauth', - 'access_token_url' => 'https://graph.facebook.com/v8.0/oauth/access_token', - 'revoke_token_url' => 'https://graph.facebook.com/v8.0/me/permissions', - 'infos_url' => 'https://graph.facebook.com/v8.0/me?fields=id,first_name,last_name,name,email,picture.type(large)', + 'authorization_url' => 'https://www.facebook.com/v19.0/dialog/oauth', + 'access_token_url' => 'https://graph.facebook.com/v19.0/oauth/access_token', + 'revoke_token_url' => 'https://graph.facebook.com/v19.0/me/permissions', + 'infos_url' => 'https://graph.facebook.com/v19.0/me?fields=id,first_name,last_name,name,email,picture.type(large)', 'use_commas_in_scope' => true, 'display' => null, 'auth_type' => null,