Subscribe to a channel using python twitch api

I found the twitch api library for python, with it you can subscribe to the channel, but for this you need to generate a token and specify scopes

users_follows_edit

I can’t find suitable scopes in this list

how then to generate a token so that you can force the account to subscribe?

Assuming by “subscribe” you mean “follow” since you referenced the follows scope.

The ability to add/remove follows has been removed from the API. It’s no longer possible to follow or unfollow a channel via the API

Reference: Deprecation of Create and Delete Follows API Endpoints

:frowning:
not via api? selenium? request?

No longer supporte via the API

Technially a violation of the developer agreement, issues with screenscarping and headless interaction aside.

Not sure what you mean here.

thx, BarryCarlyon