From aeb143ad93d5f8c0ab1d39190a8a0a9eea1a47e1 Mon Sep 17 00:00:00 2001 From: Angelo Moro <74541144+angelo-moro-fortis@users.noreply.github.com> Date: Thu, 14 Apr 2022 15:45:18 +0100 Subject: [PATCH 1/2] Update README.md update curl command with the token --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e60283c..694de0e 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,9 @@ You can get your client ID and secret from your [Extension Dashboard](https://de To get the owner ID, you will need to execute a simple CURL command against the Twitch `/users` endpoint. You'll need your extension client ID as part of the query (this will be made consistent with the Developer Rig shortly, by using _owner name_). ```bash -curl -H "Client-ID: " -X GET "https://api.twitch.tv/helix/users?login=" +curl -H "Client-ID: " -X GET "https://api.twitch.tv/helix/users?login=" -H "Authorization: Bearer " ``` +To get the token, follow [Twitch API](https://dev.twitch.tv/docs/api/) guide Step 2. + **Note -** If you haven't yet created an extension, you can start that process [here](https://dev.twitch.tv/extensions). From 2e5f3360450ddc3525b5bfe202327d19983fff20 Mon Sep 17 00:00:00 2001 From: Angelo Moro <74541144+angelo-moro-fortis@users.noreply.github.com> Date: Thu, 14 Apr 2022 15:46:00 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 694de0e..605cbfd 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,8 @@ You can get your client ID and secret from your [Extension Dashboard](https://de To get the owner ID, you will need to execute a simple CURL command against the Twitch `/users` endpoint. You'll need your extension client ID as part of the query (this will be made consistent with the Developer Rig shortly, by using _owner name_). ```bash -curl -H "Client-ID: " -X GET "https://api.twitch.tv/helix/users?login=" -H "Authorization: Bearer " +curl -H "Client-ID: " -X GET "https://api.twitch.tv/helix/users?login=" \ +-H "Authorization: Bearer " ``` To get the token, follow [Twitch API](https://dev.twitch.tv/docs/api/) guide Step 2.