I am attempting to follow the directions I am finding both here and elsewhere in generating an Access Token for Nightbot Chat. I have obtained my Client ID and my Client Secret, but pasting them into the pre-determined script, I do not get the results I am expected to get:
C:\WINDOWS\system32>C:\WINDOWS\system32>curl -X POST “https://api.nightbot.tv/oauth2/token” -d “client_id=11111111111111111111111111111111&client_secret=1111111111111111111111111111111111111111111111111111111111111111&grant_type=client_credentials&scope=channel_send”
{“error”:“invalid_client”,“error_description”:“Invalid client: client is invalid”}
I’m running my command prompt as an Admin. Not sure that really makes a difference, but otherwise, this command is a direct copy/paste of what I should be adding into CMD. Please help. What is wrong here? (yes, those client_id and client_secrets are spoofed for this post)