Hitting "Invalid OAuth token" whatever I call video or clips endpoint

Since the token was just generated, I’m don’t think it’s an expires issue

Yes, I thought that so.
Hm, currently I also not sure where goes wrong.

Perhaps you can give me some ideas whether I do it correctly or not if I want to get the specific video info :

  1. Before I request this video endpoint Reference | Twitch Developers , I need to get the app access token (without scope) first base on this docs mentioned Getting OAuth Access Tokens | Twitch Developers
  • May i know what is this parameter &grant_type=client_credentials? Is it just put the client_credentials then okay d or it needed to put user login password?
  1. Once I get the app access token after request that endpoint, then I need to curl similar like this in order to retrieve the specific video info right?
'Client-ID: myAppClientId' \
'Authorization: Bearer myAppAccessToken' \
GET 'https://api.twitch.tv/helix/videos?id=videoId'