701 results found
-
[BUG] Reward redemption UserInput text is always empty. When reading UserInput field of a CustomRewardEvent, the UserInput field is always empty.
[code]
using UnityEngine;
using TwitchSDK;
using TwitchSDK.Interop;public class SomeScript03 : MonoBehaviour
{
GameTask<EventStream<CustomRewardEvent>> reward01;async void Start() { reward01 = Twitch.API.SubscribeToCustomRewardEvents(); await reward01; } async void Update() { if(Input.GetKeyDown(KeyCode.Alpha1)) { if(reward01.MaybeResult != null) { CustomRewardEvent rwd01_event; if(reward01.MaybeResult.TryGetNextEvent(out rwd01_event)) { Debug.Log($"Name:{rwd01_event.CustomRewardTitle} | Text:{rwd01_event.UserInput}"); } } } }}
[/code]Attach this script to a gameobject and enter Play Mode. Make sure you have a Custom Reward that takes user input. Redeem the reward and provide some user input to it. Then press the 1 key and the…
4 votes -
Stories: Upload API Please provide an API to upload Stories so that the channel editor using an external tool can complete creating a story and upload it using a suitable tool, as apposed to the Twitch Dashboard.
This could be an after effects/premiere plugin for example that auto uploads after rendering
24 votes -
Sub Anniversary & Sub Shared info in API The below is all available on the Twitch website but NOT available in the API. Since it can't just be scraped from the subscription page, it needs to be made available in the API for proper management of your personal subscriptions/sharing of subscriptions to channels :
On your sub page you see all channels you sub to.
You see how many days/hours/minutes until your next anniversary.
You see how many days/months until your benefits expire.
When entering a channel chat, you can see if you have shared your resub that month for that anniversary.
Please can this be exposed to…2 votes -
Allow users to adjust the recommended channels tab or adjust it yourselves Here is an example. User has a bad experience with a streamer, gets a little upset, unfollows them, only to have said streamers' name come up in their recommended list (which they can't adjust) and which ends up upsetting them even more that they leave or want to leave the site. I'm giving you a real life example of how some people are leaving the site because of design choices. Twitch is much smaller than other platforms so not having extra customization hurts it more than them.
So I'm asking for you to either make sure when someone unfollows a…
1 vote -
add http3(quic) support please add http3(quic) support please. for https://www.twitch.tv
3 votes -
The example and API confusion "cannot create a subscription for a user that does not exist"
Consider replacing whole manual with Node.js/browser-only libraries that work out of the box.
It is not a nice sign if ChatGPT can't figure this out and makes lots of meaningful assumptions that simply do not apply to logic of this API.
PS: Was trying to make a bot that simply plays sounds/reads messages aloud via web source in OBS. I assumed I could do this by just making a bot and sending a link to a streamer which they would add to their OBS. But, oh boy, the security/complexity…
1 vote -
BlueSky Create a BlueSky Account for TwitchDev on dev.twitch.tv The site now has 1 million accounts, and more Twitch Streamers are moving there. Creating an account not only provides another outlet for TwtichDev announcements, but also demonstrates to Twitch users that Twitch Developer relations is aware of the potential of this platform. It does NOT necessarily show that Twitch is adopting an official stance.
11 votes -
Use my own user-access token to see my watchtime on the different channels/categories I follow Hello, I was wondering if it was possible to use my own user-access token, and see my OWN watchtime on the different channels/categories. Basically, knowing who I watch the most and what categories/games I watch the most ! I went through the API options, and I can't find this one.
5 votes -
curl examples are incorrect, uses ' instead of " Make sure you use " instead of ' in curl requests. Here's an example of what will happen otherwise:
console
$ curl -i -X GET 'http://localhost:8080/mock/users?id=29405430' -H 'Client-Id: ***' -H 'Authorization: Bearer ***'
curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535
curl: (3) URL rejected: Bad hostname
curl: (6) Could not resolve host: Bearer
curl: (3) URL rejected: Bad hostname
1 vote -
Specifications regarding the Extensions Guidelines and Policies - Section 6 I have a few questions regarding the "Extensions Guidelines and Policies - Section 6 Bits in Extension". In my opinion, it contains some unclear points, specifically:
6.2.2 "Bits may not be used within your Extension: To allow an end user to use Bits to play a specific musical track or audio-visual work. (e.g. a jukebox-like functionality)"
This is already done by a variety of extensions, e.g. Sound Alerts. You pay for bits to play a specific sound ("audio-visual work"). Therefore, I would like to know why it is allowed in their case and consequently, this might need some more specification.…
1 vote -
Fix syntax the Authentication Manager class has tons of errors.
start -> Start
This function only runs once so if its waiting for an AI response, it will never actually work, make an example with a proper workflow that uses Update to check for the actual api responses properly. since this only runs once, it will just not do anything.
Application.OpenURL("{UserAuthInfo.Uri}{UserAuthInfo.UserCode}"); is incorrect in 2 ways. 1: uri HAS the usercode baked in, and 2, this just won't work. remove the quotes and just put UserAuthInfo.uri.
Theres probably more here that needs to be done but thats all i got so far.
1 vote -
[Typo] channel.suspicious_user.update event type definition https://dev.twitch.tv/docs/eventsub/eventsub-reference/#channel-suspicious-user-update-event
data structure unclear. indentation doesn't match parent types
2 votes -
Email scope missing The scope "user:read:email" mentioned in the Unity Engine Plugin class field "UserInfo.Email" is not referenced at all in the Twitch OAuth class "TwitchOAuthScope.User". Is it planned for this to be added or do we have to manage it manually?
3 votes -
Add keyboard shortcut for docs search A lot of dev docs sites have a shortcut like ctrl+k or / for focusing the search box. It'd be nice if this was implemented
3 votes -
Delete "Do not need to maintain a client secret." on "Device code grant flow" "Device code grant flow" actually needs secret id for token refresh flow. We do have to maintain secret. You may want to delete the point "Do not need to maintain a client secret." to prevent misunderstanding
1 vote -
Implement ChannelSubscriptionMessage on unity plugin Please implement ChannelSubscriptionMessage from eventsub as an event for the unity plugin as it is more interactive with viewers.
Subscriber events do happen in the moment when someone subscribes and not when a notification is sent through chat, so if someone is already subscribed and they just want to send the notification when streamer is live, that action does not trigger Subscribe events and also there is no way to get the message from chat.
2 votes -
Typos Unity Getting Started Typo in Auth Manager: void start()
Typo in Stream Info: DisplayName -> Language3 votes -
Inconsistent scope html formatting Scope formatting inconsistency. The channel.chat.usermessagehold and channel.chat.usermessageupdate sections have the word "scope" inside the code tag instead of outside like the other sections.
3 votes -
Unreal Engine plugin TwitchSDKStructs.h has incorrectly exposed params for blueprint structure utilization. Every instance of the UPROPERTY macro for struct properties in TwitchSDKStructs.h in the "TwitchSDK-Unreal-121523" version uses BlueprintReadOnly, but should use BlueprintReadWrite.
The current structs can not be modified in blueprints due to this error. The "make struct" blueprint nodes have an output and no inputs to actually feed data into the struct as a result.
Changing these from BlueprintReadOnly to BlueprintReadWrite solved the issue locally for me, and I am able to continue working with a mix of c++/blueprint.
2 votes -
Miscategorized `preferred_username` claim Hello, the
preferred_usernameclaim is marked as non-default whereas it appears to me that it's always included as part of the default user info retrieved.2 votes
- Don't see your idea?