Open dejan7 opened 5 years ago
I faced same issue and solved it by sending json request manually
$response = $fb->sendRequest(
'GET',
'/oauth/access_token',
[
'client_id' => $config['client_id'],
'client_secret' => $config['client_secret'],
'grant_type' => 'fb_exchange_token',
'fb_exchange_token' => $short_token
],
$short_token,
null,
'v2.7');
Results in:
PHP 7.3 facebook/graph-sdk: 5.7.0 Laravel: 5.8.7 (but i don't think this is related to Laravel in any way)