Twitch api cURL php return Invalid OAuth token error

Thanks for reply.

  1. Do I need to upload the github files in my cPanel?
  2. Regarding the last step, how I can do this : In a console/terminal, run php and the script you want to test?