83 results found
-
possible grammatical change on page https://dev.twitch.tv/docs/pubsub
"These example applications share a common pattern: on application load, the application fetches a complete snapshot of its state and uses a PubSub connection to receive updates to this state. The updates act as “diffs” to the initial state."
Unsure it's stated correctly as PubSub is the model but not the connection. The connection protocol is WebSocket. Should possibly read:
"These example applications share a common pattern: on application load, the application fetches a complete snapshot of its state and uses a WebSocket connection to receive updates to this state. The updates act as “diffs” to the…1 vote -
Don't mention NPM Under "Run the Chatbot Locally", npm comes with node.js. Saying to install both can be confusing when there is no download option for npm.
1 voteThanks for mentioning this! We’ve updated the instructions for today’s docs deployment.
-
wrong url When you click Express url it redirects you mongoose instead of express :D
1 vote -
Typo in EventSub Guide page The subscription revocation example says that revocations will have a subscription.status of "authorization-revoked", but in practice they come in as "authorization_revoked", with an underscore and not a hyphen.
1 vote -
Update Docs The 200 vs. 400 result for revoking tokens is wrong, the API does actually give you a 400 with the message "Invalid Token" if you try to revoke an invalid one.
1 vote -
Incomplete documentation The scopes should be defined in more detail. For instance, from this page, I cannot tell what scope I need to view stream start time, nor can I tell where to go to find this information.
1 vote -
typo Hi might be a typo?At least it was giving me trouble till i fixed it. I am a noob so feel free to ignore. Thanks!
Line 4 in onchanged:
Try should be 'try'
?
1 vote -
typo "and cna thus" should likely be "and can thus"
1 vote -
Unclear Mention of Regex for Bits Parameter Hi! For the bits parameter on PRIVMSG, it's not clear to me what this means:
"The amount of cheer/Bits employed by the user. All instances of these regular expressions:
/(^|\s)<emote-name>\d+(\s|$)/"I'm just not sure what I should be using this regex on or how this fits with the example message provided.
1 vote -
Fix invalid markdown link under Step 2 There's a broken link under "Step 2: Set Configuration"
For more information on the set function, check out the [Extension Helper Library][https://dev.twitch.tv/docs/extensions/reference/#helper-configuration].
This is invalid markdown. The link should be wrapped in parentheses:
Extension Helper Library.1 vote -
Add link to Node.js website Provide a link to the official Node.js website:
https://nodejs.org/1 vote -
Incorrect Syntax, Poor quality code, and replace screenshots with embedded code blocks - Incorrect Syntax The JavaScript code in this image is not syntactically correct: https://dev.twitch.tv/docs/assets/uploads/extension-tutorial-11.png
For example, "Try" is incorrectly capitalized.
- Example code is poor quality I referenced the example code for step 1 at: https://github.com/sonia145/extensions-101/blob/step-1/config.js
It's extremely messy with lots of lines commented out. There are about 13 commented out
console.log
statements.- Replace screenshots with embedded code blocks
This page would be greatly improved by replacing the GitHub Gist screenshots with actual embedded JavaScript code blocks.
1 vote -
Possible error/typo "Scopes are specified as a space-separated list in the URL scope parameter, when requesting authorization:
&scope=user:edit+user:read:email"
Space- or Plus-separated?
1 vote -
Typo In the first paragraph "Stores user IDs to call third-party APIs from your backed (if you have one)" Im pretty sure it was supposed to be 'backend' instead of 'backed'
1 vote -
Broken link There seems to be a broken link in the Subscriptions heading: "When you submit a request to subscribe to an event (with the Subscribe To/Unsubscribe From Events endpoint)" displays instead of the actual link.
1 vote -
Fix usage_untimeout documentation note For "usage_untimeout" it wrongly says you use it with "/raid <username>"
1 vote -
Remove jQuery from extension examples https://dev.twitch.tv/docs/extensions/reference#javascript-helper
Change
window.Twitch.ext.onAuthorized(function(auth) {
$.ajax({
url: '/<some backend path>',
type: 'GET',
headers: {
'x-extension-jwt': auth.token,
}
});
});to using fetch, or STATE it's a jQuery example
1 voteWe’ve updated the examples to use fetch vs. jQuery.
-
Bad Code examples twitch.ext https://dev.twitch.tv/docs/extensions/reference#javascript-helper
Every since refernce to each function is
twitch.ext
This ASSUMES the developer has cast
var twitch = window.Twitch
somewhere.
It would be more clear if each code reference didwindow.Twitch.ext
instead, or mention that
twitch
is a variable expected to be cast by the developerThere is also some inconsistency where twitch.ext and window.Twitch.ext are used inchangably
1 vote -
missing space missing a space on last line
1 vote -
Missing info In step2, it says nothing about:
--header 'Authorization: Bearer 2gbdx6oar67tqtcmt49t3wpcgycthx'
It is in a different page, what describe how to get your app id. Should be linked or copy that info to here.1 vote
- Don't see your idea?