Please refer to the migration guide
https://dev.twitch.tv/docs/v5/guides/migration
or jump straight to Helix
As per the migration guide and helix you need to declare the client_ID as a header
If you are using kraken you also need a v5 header and to use user_id’s instead of user_names.
If you are using helix you can use either user names or ID’s