Cannot get multiple users

You’re getting the error because you’re doing it wrong.

Request parameters are &-repeated (e.g., &login=&login=&login= ), not comma-separated as in Twitch API v5. As specified in the API Guide docs Twitch API Concepts | Twitch Developers