Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Changing exception #1219

Open
adeliofioritto opened this issue Jan 10, 2021 · 0 comments
Open

Changing exception #1219

adeliofioritto opened this issue Jan 10, 2021 · 0 comments

Comments

@adeliofioritto
Copy link

adeliofioritto commented Jan 10, 2021

In php-graph-sdk/docs/examples/facebook_login.md , looking on group, exception sounds to be like that:

try {
  $accessToken = $helper->getAccessToken();

} catch (\Facebook\Exceptions\FacebookResponseException $e) {
echo "Response Exception: " . $e->getMessage();
exit();
} catch (\Facebook\Exceptions\FacebookSDKException $e) {
echo "SDK Exception: " . $e->getMessage();
exit();
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant