How to parse URL fragment identifier

Hi, everyone

URL -
https://api.twitch.tv/kraken/oauth2/authorize?response_type=token&client_id=MYCLIENTID&redirect_uri=MYSERVERIP&scope=clips:edit

redirect_uri -
http://MYSERVERIP/#access_token=ACCESSTOKEN&scope=clips%3Aedit

How do I parse in PHP?

You can’t since those are never passed to the server. For PHP use the authorization code flow.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.