959 results found
-
Improve documentation for WebHooks' hub.secret property The hub.secret property needs far more explaining of how the secret is generated:
"The X-Hub-Signature header is generated by sha256(secret, notification_bytes)"
It should say something along the lines of
"The X-Hub-Signature header is generated by using HMAC sha256 with the provided secret being the one specified in hub.secret: hmac(sha256, hubsecret).hash(notificationbody)"
2 votes -
Add the total field to the helix/subscriptions endpoint Just like the /helix/users/follows endpoint, I would like the /helix/subscriptions endpoint to also provide the total results in addition to the next and previous links.
Currently I have to recursively go through all the subscriber pages, 100 par 100, and add up for each one. So I make for my 12,000 subscribers not far from 120 calls which, on the one hand overloads the service and uses part of my call quota, and on the other hand take almost a whole minute to execute.
This is a certain burden for our two sides, as a "total" field would solve all…
2 votes -
Get the latest subscriber The endpoint
/helix/subscriptions?broadcaster_id=USER_ID
doesn't return the data from the most recent to the oldest subscriber.We could maybe use
/helix/subscriptions/events?broadcaster_id=ID
but the data here apparently doesn't last more than 5 days or so. This doesn't work for small streamers who don't have a lot of subscribers coming on a daily basis, for example.Suggestions:
- Create an "order" parameter to the first endpoint, so we could use like
/helix/subscriptions?broadcaster_id=USER_ID&order=desc&limit=1
- Make the second endpoint return the latest "forever".
The first endpoint seems buggy, the data being returned comes in random order and the pagination cursor is always present, even if I clearly…
2 votes - Create an "order" parameter to the first endpoint, so we could use like
-
Add a Notify-Feature to Component-Extensions when minimized Some extension depend on user interaction in a timely manner.
I'll use our fantasy Fight LIVE as an example. Here viewers can challenge other viewers for a duel. When this happens, the "other" (challenged) viewer gets a short hint "You have been challenged by XY" and two buttons: Accept and Decline.
Now, as an Overlay Extension this works perfectly well.
In a Component Extension the experience is very different. Usually a component is "closed" - That means the viewer can not see what's going on. We have no chance to notify the user that something is happening.It would be…
2 votes -
Game developer playbook clip not playing On https://dev.twitch.tv/gamedevelopers/development embedded clip is ot configured properly
2 votes -
Channel Points API Suggestions There should be a way to at least enable/disable or pause/unpause rewards that the Client-ID used didn't create. This makes sense since if I'm a moderator I can pause/unpause events that I didn't create for the channel in question. Even if it's a separate endpoint to prevent different bots from "writing over each other" I think this would be the best possible feature to add.
Possible bias: This would make my Channel Points Rewards (Twitch CPR) Game Profile system just that much slicker. ;)
Best part; Could just be a paired-down version of the current "get" function of channel point…
2 votes -
Expose endpoint for total points a user has I would like an option to return the amount a points a current user has.
2 votes -
onTransactionComplete trigger result unclear The use of bullet points reads and the "and" tacked onto the end of the first bullet point makes it unclear
The wording should be revised so it's more obvious that "onTransactionComplete" is to be sent to instances where the userID matches the userID that initiated.
Since the first bullet point is superflous, since the userID of the first bullet point is also matched by the second bullet point.
2 votes -
Allow request clips/videos with broadcaster_id AND game_id Allow to request clips/videos on multiple required query paramters (broadcasterid & gameid).
Exemple: https://api.twitch.tv/helix/clips?broadcaster_id=xxxxxxx&game_id=xxxx
2 votes -
Helix followed channels end-point should show if channel is live Currently requires two un-needed requests https://dev.twitch.tv/docs/api/reference#get-users-follows and https://dev.twitch.tv/docs/api/reference#get-streams
(Instead they could just include a ‘live’ parameter in the first request.2 votes -
Please add actual code instead of images in the documentation Please add actual code instead of images in the documentation. It would be much easier to copy it. Example: https://dev.twitch.tv/docs/tutorials/extension-101-tutorial-series/config-service
2 votes -
Need filter by language in game clips Helix don’t have for game clip by laguage param filter.
Helix api must need it for the other country.
Thank you.
2 votes -
Auto unsubscribe So you send a request for a subscription event
add a optional
--terminate xs
there xs is number of seconds
You send the subscription event then x seconds later automatically send the unsubscribe that has the same parameters as the subscription.
2 votes -
VIP scope mistake? Hey, it says "/vip /unvip" is under "channel:moderate" scope, wouldn't that be moderator status? because I'm sure moderators can't grant/remove VIP status to a user. Or am I wrong?
2 votes -
Standard way of accessing full data after webhook After a webhook fires, I'm given context to the UserID and Username. In the instance of "stream.online", I would like more information. In the old webhooks, I was given the full stream data object. Will there be a standard way of accessing the full data object of whatever is "notifying" the webhook? Or is it on me to use the existing Helix API to then get that information(user info, game info, broadcast info)?
One thought would be to simply give the appropriate URL to POST to for more information, similar to how some APIs give a paginated cursor URL to…
2 votes -
2 votes
-
"Registering your App" an Extension is also an App https://dev.twitch.tv/docs/authentication
Says
Authentication involves: Registering your app to obtain a client ID and client secret. Getting a token. This includes specifying scopes, the permissions your app requires. Sending the token in your API request, to authenticate API requests.
But doesn't mention that an Extension is also an Application
This docs fix would be needed on other pages where "registering an app" is mentioned
2 votes -
Add ban status to the extension JS helper In a similar fashion to
it would be beneficial to include ban status in the extension JS helper. To save an Frontend->EBS->API round trip to obtain this data.
It would be a boolean unlike substatus which is null/object
Optionally useful to provide data if a active timeout is in place.
A "onBan" callback might be useful (which would only listen to to that users ban status change(s)
2 votes -
Document exact what triggers `viewer.onChanged` https://dev.twitch.tv/docs/extensions/reference#helper-viewer
SNIPPET STARTS
onChanged
Twitch.ext.viewer.onChanged: void function(callback: Function())This function binds a callback will be invoked when the viewer’s status changes (e.g. if a viewer subscribes and changes their subscription status).
SNIPPET ENDS
Cannot tell if broken or only triggers on subscription status change.
IE is it supposed to trigger on
role
changes? If so it's bugged, if not the documentation needs to document what does cause onChanged to be called2 votes -
Viewer Data Storage for Extension Overlays/Components/Panels In the context of a Twitch Extension Overlay, the API needs a way to set key value pairs for viewers of a channel not using cookies. Chroma incognito blocks setting local storage and cookies. This would be used to store overlay settings like widget sizes and positions. That way when the page refreshes, the overlay elements would persist their placements. As the great BarryCarylon said "... like Redis for Twitch Extensions".
2 votes
- Don't see your idea?