Is it possible to check if a user can view a channel’s subscription content via a Prime subscription? The existing subscriber check (https://dev.twitch.tv/docs/v5/reference/users/#check-user-subscription-by-channel) doesn’t consider this.
You can easily check if the sub is a prime sub. You have seen the docs for sub checks, if you look at the example response there is a subPlan field returned. You can tell if a sub is a Prime sub from the value set for this field.
I believe the valid values for sub plan are: Prime, 1000, 2000 and 3000
Hope this help
Kraken will return 1000, 2000 or 3000. Prime subs will show up with regular ones as 1000.
The docs have been updated to include
Prime as a valid result. I have no idea if this has been implemented or is a planned feature, however. I haven’t had time to test myself yet.
@Ponny If the
Prime resuilt in the
msg-param-sub-plan tag isn’t implemented yet, you can always just parse the
system-msg tag for “Twitch Prime” as a temporary fix.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.