Make followChannel action take channelId instead of channelName
The Extension Action: "followChannel" currently only accepts the channel name.
window.Twitch.ext.actions.followChannel: void function(channelName: String)
Most of the other extension APIs all use IDs and these are readily available in the extension from the JWT. With the way this API is designed, in order to use it you now have to make an extra network request against the Helix endpoint to get the channelName from the channelId.
My request is to make it so this action supports taking the channelId or that the channelName is exposed in the JWT token.
1
vote
