Trying to block users using the API, I’ve got the correct scopes in place and authorised as per the API documentation, when I send the PUT request through I get a “No Content” response as the status response.
I’m not receiving any errors but when I the “Get User Block List” it is not returning any of the blocked users that I have sent the block request for?
This is the response I’m receiving:
I’m using C# with a RestSharp package to handle the requests.
I’ve also checked in the settings → Security & Privacy → Show Blocked Users and they’re not showing in here either.
Wow! Thanks for the quick response! I have been making it to assist with banning and blocking the HOSS bots that’s been going around so that may be the case?
Blocking these accounts does absolutely nothing to help you.
As the scumbags are generating accounts as quickly as Twitch TOS’es them
Blocking them will do nothing to help you.
And it’s (theoretically) a misuse (not in terms of TOS but in terms of the intent of the endpoint) of the block endpoint. Since they are not sending chat messages for you to block and not see. (But mods will see messages anyway in order to moderate them, so again, doing nothing to help you)
And their whole intent is for you to waste your time and cause extra API requests to Twitch to block them.
So you are doing nothing to help yourself and causing extra load on Twitch’s systems.