Skip to content

Commit

Permalink
Update API version for Facebook to latest available (#1975)
Browse files Browse the repository at this point in the history
  • Loading branch information
stloyd committed Feb 9, 2024
1 parent ea8e416 commit 30e3f0e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/OAuth/ResourceOwner/FacebookResourceOwner.php
Expand Up @@ -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,
Expand Down

0 comments on commit 30e3f0e

Please sign in to comment.