Questions tagged [twitch]

Twitch is a live streaming service and global community for content spanning gaming, entertainment, music, sports, and more. Use this tag for questions related to the Twitch API, Extensions, Drops, or EventSub.

Official Twitch Links

Twitch API on GitHub

821 questions
-1
votes
3 answers

Python Bot Twitch Viewer (Selenium)

So basically i am working on a python script that loggs into a twitch account and stays there to generate a viewer. But my main issue is how do i make this work for multiple accounts. How to hide alle the Windows, and how can i handle multiple…
InvolveX
  • 23
  • 2
  • 8
-1
votes
1 answer

(Python) ImportError: No module named irc.bot

File "/home/pi/chatbot-python-sample/chatbot.py", line 12, in import irc.bot ImportError: No module named irc.bot Anyone know what I'm doing wrong? I already installed irc and irc.bot
-1
votes
1 answer

Resize the twitch embed

I'm using the embed twitch service on my website but I don't know how to resize it as I want. this is actually the website https://i.stack.imgur.com/mS2sE.jpg, this is the html:
-1
votes
1 answer

How can I run a certain function in C# whenever a Twitch stream has gone live?

So I want to create a program that will execute a certain function the moment a Twitch stream goes live in C#. Does anyone have any ideas how I can reliably get that function called the moment the stream goes live? I also want this to be a program…
-1
votes
1 answer

Twitch Ban Checker

can you help me with my Twitch Ban Checker it worked a few months ago, but something is wrong now maybe someone can give me a tip why it doesn't work anymore I wrote this Twitch Ban Checker which, after entering the username, gives an answer whether…
a.s.
  • 27
  • 2
  • 8
-1
votes
1 answer

name is not defined for twitch-viewer module

I can not start the https://github.com/ohyou/twitch-viewer because of a NameError. I did the following on CMD: Microsoft Windows [Version 10.0.18362.720] (c) 2019 Microsoft Corporation. Alle Rechte vorbehalten. C:\Users\Nesin>pip install…
Nes Elm
  • 87
  • 1
  • 3
  • 12
-1
votes
1 answer

I get Winerror 10038 when i try to reconnect

Twitch randomly disconnects my python bot. I googled a lot and found out that this is a common problem. Only solution seems to be an automated reconnect. Tried this, but my knowledge seems to be way too limited to make it work. I tried to shut down…
DrMohn
  • 1
  • 2
-1
votes
1 answer

Python string split() method causes index error when reading IRC

I'm creating a twitch chat bot to read the chat on my stream. But when I try to .split() the incoming string into separate strings to isolate the username and message, it displays an extra ' and ["'"]. when I try to print the strings separately by…
-1
votes
1 answer

Formatting PHP Array from JSON Object in HTML

How can I format the following output (Using cURL in PHP to parse a json object to an array and display properly formatted text in HTML) function curlTwitch() { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,…
manuva
  • 1
  • 4
-1
votes
1 answer

updating mysql table with nodejs

I want to update one of my columns when it finds the user already in the database. This is viewers = ['freddiejefferson'] Table: kong_plays 10 freddiejefferson 10 My code: function getPoints(){ for (viewerCount =…
kong
  • 3
  • 4
-1
votes
2 answers

Variable not accessing inside of function

ive made a function for my twitch bot. which when they input a command checks if they are already in the list. if they are not in the list it will add them to the list. The code below outputs this : [ undefined ] [17:53] info: [#kong_plays]…
Kong
  • 35
  • 1
  • 7
-1
votes
2 answers

MySql - not connecting in nodejs

im trying to set it up so my twitch bot can connect to a database to store data. however i cannot seem to work out how to connect. Ive inputted all the correct data (i can connect with the credetials with a client) and it still isnt connecting. var…
kong
  • 3
  • 4
-1
votes
4 answers

Array gives errors after JSON function

I'm trying to check if the twitch stream is online or offline and if so change a background colour. If i check without the array and just put in the name it works, but with the array it doesn't (I don't have a lot of knowledge of JSON). function…
Pretpacked
  • 31
  • 1
  • 6
-1
votes
1 answer

Why is the Twitch API giving me an undocumented HTTP 404 error on Check User Subscription By Channel?

When trying to check whether a user is subscribed to a particular channel using the Twitch API v5, I'm getting an HTTP 404 response from the twitch server. According to the documentation that should not happen in v5. v3 used to respond with an http…
Annonymus
  • 204
  • 1
  • 2
  • 10
-1
votes
1 answer

Python- How to check if a Twitch stream is online

I'm trying to check whether a twitch stream is online using python. This question has been asked here before however now I think the responses are out of date in relation to the twitch API. For example https://api.twitch.tv/kraken/streams/syndicate…
jumbodrawn
  • 128
  • 1
  • 9