I’m creating an application that needs to know for each user the relative list of active subscriptions.
Actually Twitch API allows you to fetch only a list of subscribers to your channel and there’s no way to obtain a list of user’s active subscriptions (am I right?).
So my idea was to gets a list of all channels followed by a specified user (this is allowed using “…/kraken/users/user ID/follows/channels”) and then, for each followed channel, check if
the user is subscribed to it (using “…/kraken/channels/channel ID/subscriptions/user ID”).
But obviously this will not work when I’m not following users I’m subscribed to (rare use case?).
This is also a time and data consuming solution.
Do you guys have a workaround for this?
I really hope that Twitch guys will implement a command to fetch user’s subscriptions, it would be really useful.
I’m creating a social application and I want users to login with their Twitch account in my app and have all contacts automatically added to their “friend list”. In particular, for each user, I want the friend list to be divided in “users I am following” and “users I am subscribed to”. That’s why I need a list of active subscriptions.