We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
return $oauth->getAccessToken(); not excuting the TOKEN_URL. It redirects in my redirect uri and returns a null value.
return $oauth->getAccessToken();
I am using Laravel Framework
The text was updated successfully, but these errors were encountered:
Same issue I experienced. :(
Sorry, something went wrong.
$oauth->getAccessToken(); result is : { "access_token":"1ixLbltjWkzwqLMXT-8UF-UQeKRma0hOOWFA6o91oXw", "subscriber_number":"9171234567" }
the problem is how we can get the access_token only?
Problem solved!!!! $tojson = json_decode($oauth->getAccessToken()); echo $tojson->access_token
$tojson = json_decode($oauth->getAccessToken());
echo $tojson->access_token
you need to decode using json in order to extract the token
No branches or pull requests
return $oauth->getAccessToken();
not excuting the TOKEN_URL. It redirects in my redirect uri and returns a null value.I am using Laravel Framework
The text was updated successfully, but these errors were encountered: