"Invalid OAuth token" when making a request

That token and client secret was not mine, I copied it from the instruction page to not leak my own information.

But if the token isn’t valid then how do I get a token? Are the instructions on Twitch API | Twitch Developers not correct?