Hello! My name is Donovan and I’m learning PHP. I’m using the Yandex OAuth API to check if they have an email at @mail.(my domain)
through Yandex360.
The problem: I need to extract the token from this URL in PHP.
https://mail.(my domain)/auth/server.php#access_token=TOKENGOESHERE&token_type=TYPE&expires_in=EXPIRATION
I want to get TOKENGOESHERE
from the URL in PHP to connect to the Yandex API to check the email on the account. How can I get TOKENGOESHERE
from the URL?