83 results found
-
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 -
[TYPO] EventSub channel.update docs Channel Update Notification Example states both
user_id
anduser_name
are returned, when actually it returnsbroadcaster_user_id
andbroadcaster_user_name
Ref: https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelupdate
2 votes -
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 -
It is unclear that "Authentication none" means "any token" Some endpoint in the docs say "authentication none" leading to some confusion
https://discuss.dev.twitch.tv/t/getting-top-games-in-python/28256/
6 votes -
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 -
Correct typing errors in the "Scopes" At https://dev.twitch.tv/docs/authentication#scopes
- "channel:manage:brodcast" is misspelled (should be "channel:manage:broadcast")
- "channel:manage:extension" is misspelled (should be "channel:manage:extensions")As metioned in other posts "channel:read:redemptions" is still missing there.
4 votes -
Authorization types and how to get them isn't clear Please pleas please provide a link or something leading to this documentation: https://dev.twitch.tv/docs/authentication/getting-tokens-oauth#oauth-client-credentials-flow
I spent a while trying to figure out how to get a Bearer authorization with no luck, I feel like it should be shown how to do on this page.
1 vote -
Twitch-Notification-Id header documentation The documentation mentions "a unique ID" that is included with each notification, but doesn't mention the header name.
The page should add documentation for the "Twitch-Notification-Id" header.
2 votes -
Extensions package.json HTTPS env variable update In the section for using create-react-app and providing the environment variables for the start script, these docs state using "HTTPS=on". It should be "HTTPS=true" though.
1 vote -
Entitlements Webhook Docs On the Drops 2.0 documentation it states "When a viewer claims a Drop, you can call the Entitlements API to get viewer entitlement data using webhooks. " Yet there are no references to a Webhook Topic for the Get Entitlements endpoint.
Either the Drops 2.0 page is erroneous and there is no webhook, or the Webhook Reference page needs to be updated to include that topic.
1 vote -
Embedded Experiences Requirements - needs spacing on the bullet points The documentation on
https://dev.twitch.tv/docs/embed/
for "Embedded Experiences Requirements" is badly formatted
1 vote -
broadcaster_name not noted in return values of Get Channel info https://dev.twitch.tv/docs/api/reference#get-channel-information
Omits the description of "broadcastername" and as per https://github.com/twitchdev/issues/issues/3 it's the "dISpLaYNaME" of the caster not the username.
So we have to do a second lookup to get the
login
for embed purposes6 votes -
Next Steps Typo There is a typo at the botton of this page
It says @TwitchDevon Twitter instead of @TwitchDev on Twitter :)
1 vote
- Don't see your idea?