PHP CURL get streamer status

You have no code showing how you are fetching an oAuth token

oAuth app access tokens are covered here:

So sounds like you are using your client secret as a token in error