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
0
votes
1 answer

Can't get username of last follower from array

Trying to get the name of the latest Twitch-follower with help from a snipper I found online. However I get an error message which I can't understand $json_array2 =…
indiehjaerta
  • 319
  • 1
  • 8
  • 19
0
votes
1 answer

JSON - Cannot read property 'viewers' of undefined

I am trying to get a list of viewers from twitch and it keeps giving me an error even though I am pretty sure I have the right format ... here is the code and here is an example on jsfiddle: $(document).ready(function () { …
user3195250
  • 127
  • 2
  • 13
0
votes
1 answer

mIRC - Pausing hash table

Code; on *:text:!ticket *:#:{ var %hash $+(ticket.,#) if $istok(%owner,$nick,32) && $2 == on && !$hget(%hash) { hmake %hash msg # Ticket now is open. Use !ticket to join. } elseif $2 isnum && $2 > 0 && $hget(%hash) { …
0
votes
1 answer

Raffle price change on input

My Code for mIRC; on *:text:!raffle *:#:{ var %hash $+(raffle.,#) if ($nick isop #) && $2 == on && !$hget(%hash) { hmake %hash msg # The raffle now is open. Use !raffle and the amount of time you would like to enter to join. Remember, 1…
0
votes
1 answer

mIRC stop spam of bot - Twitch

Here's my code; on *:text:!points:#:{ msg # $nick has $readini(Points.ini,$+(#,.,$nick),Points) total points. } Thats ok but if 5 people do !points in a row, it spams the chat. How do I make it update every 10 seconds and then display a message…
0
votes
1 answer

HTML Object swap with Javascript - Twitch streams

So I'm planning on integrating Twitch streams into a website; embedding each are pretty straightforward, but what I felt would be easier on everyone's bandwidth would be to write some Javascript to show one Stream and press a button to swap…
0
votes
1 answer

!permit command for Twitch, mIRC/mSL

I want to make a !permit command that will let the user post a link for 20 seconds and not get blocked. If they don't ask a mod to permit them, they will get timed out. Also I was looking for add a !alwayspermit so they will always have permission…
user3695840
  • 1
  • 1
  • 1
  • 2
0
votes
1 answer

PircBot Not sending Message in twitch chat

Hello i'm currently making a chat bot for my twitch stream but i got a problem only one command is working and that is the !song command all the other commands wont work for some reason i checked my code and i cant find anything wrong so if some…
Nicolai
  • 133
  • 1
  • 8
0
votes
0 answers

Twitch.tv and node.js

I'm trying to build a twitch tv chat app on the serverside. I tried a dirty include of their js API using fs. Seems like this doesnt work. Has anyone managed to get the twitchtv client side app working on server? I pretty much just want access to…
Laz
  • 6,036
  • 10
  • 41
  • 54
0
votes
1 answer

Hitbox Follower Alert

There is this site called hitbox. It's similar to twitch but as far as I can see the api is rather different! I tried to take a twitch follower alert and change the code a bit to make it work with hitbox but with no luck. I don't want to create a…
user3647030
  • 9
  • 1
  • 3
0
votes
1 answer

Twitch: Token invalid or missing required scope

I am using the Twitch api authorization flow but it keeps saying my access token is not correct when i try to retrieve a user. The access token Twitch gave me after authorization is stored in the database, then i use cURL to get the user and twitch…
SirCumz
  • 171
  • 1
  • 2
  • 14
0
votes
1 answer

How to get a huge array in PHP

I am recoding my Stream Refresher, but how do I get this huge list of arrays? How do I output them into variables? I don't really know how to structure my code to get these arrays. Here is the…
Luigi R.
  • 229
  • 4
  • 20
0
votes
1 answer

Making a program auto login to twitch.tv

So im trying to make a program with multiple buttons. Basically each button will relate to one account on twitch(.)tv . I help doing this. I understand the button needs to 1. navigate to twitch(.)tv/login . 2. then it needs to get the elementbyID of…
0
votes
0 answers

ASP MVC SSL cross domain flash

My site is utilizing SSL and it appears that while the user is in a secure connection they cannot accept outside media from unsecured sites. As the content will simply not load. When the same page is loaded with the standard http://www.mypage.com…
David Price
  • 170
  • 1
  • 16
0
votes
1 answer

Implement twitch stream on a website

I'm currently in the process of making a website for a friends twitch stream and I'm very confused as to how I implement the twitch stream. I have created a div with the class "Twitchscreen" but I have no idea how I link to the twitch API or get the…
user3186203