Questions tagged [twitch-api]

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

181 questions
0
votes
1 answer

Requesting more than the 100 limit api

I'm trying to request more than 100 live channels from the Twitch API. The current limit of results are 100. I need to do a new request every 100 while adding +1 to the offset url. I've tried to search to find help but I haven't been able to find…
Brayden
  • 26
  • 3
0
votes
1 answer

Chrome Extension for Twittch API give me an error about Content security policy

I'm doing a chrome extension for my viewers to know when i'm on stream or not, so i've done it but it returns an error First i've tried to do it with JQuery XMLHttpRequest, but I found out that the JSONP was better for those extensions, so I done…
0
votes
1 answer

How to convert a json file that contains multiple objects to a list of java objects using json

I'm working on a Java project that fetches the URL of the most popular clips of the day on Twitch. To do this I'm sending a request to the twitch API with this code: private List getVideoList() { try { LocalTime midnight…
Auties01
  • 29
  • 1
  • 9
0
votes
1 answer

Parsing Twitch API response PHP

I'm attempting to parse a request for Twitch users playing a certain game . The results look like this: { "data": [{ "id":"id here", "user_id":"uid here", "user_name":"name here", "game_id":"gameid here", …
schwooples
  • 23
  • 5
0
votes
1 answer

php - The best solution for storing access_token

I'm creating a little application where users must authenticate with Facebook (I'm using OAuth2). At this moment all of this procedure looks like this: The user will click on "FB Login" button. The user will be asked to login to Facebook and…
Paul
  • 411
  • 6
  • 15
0
votes
1 answer

Unable to Defer jQuery & Use Browser Caching with the Twitch for Wordpress Plugin

I've just launched my website, and currently tackling page speed issues. The most glaring issue is the Deferring of a specific .js file This file is included with the "Twitch for Wordpress" plugin. I'm running my site though Cloudflare CDN, which…
0
votes
0 answers

Twitch API : is it possible to retrieve device IDs of people currently watching a stream?

I know it's possible to get the twitch usernames of the people currently in the chat of a stream, by using https://tmi.twitch.tv/group/user/STREAMERNAME/chatters (even though I don't know if it's permitted) However, I'm more interested in getting…
François M.
  • 4,027
  • 11
  • 30
  • 81
0
votes
2 answers

Map comments from Twitch API - React

I'm having trouble mapping comments / results from a Twitch API. I'm getting a TypeError when I try to map, and the results being stored from the API are capping at 60 records, and I cannot find a way to keep mapping past that. Below is my Component…
TJDev
  • 133
  • 3
  • 13
0
votes
0 answers

Different responses

Im setting up an credit system that checks if the user followed someone that is also on the website on Twitch. Now i've set up a base, what I think it should do the trick. The thing now is, it checks everytime by cronjob every 10 minutes, but if i…
Prizen
  • 11
  • 1
  • 3
0
votes
0 answers

How to play twitch.tv live streaming video with native control in iOS?

I like to play twitch.tv live streaming videos into my mobile application. currently I am playing with webview and iFrame. Is there any way to play the live steam with native controls like AVPlayer.
yogs
  • 788
  • 2
  • 11
  • 29
0
votes
1 answer

variable not global or file system readfile is too slow

I'm trying to make a Twitch Bot using Electron and the tmi.js repository and I want the program to save the data (e.g. username, OAuth token etc.) in a .json file. When I reopen my app it's reading the file instantly and creates an options object…
Mr.Dodo
  • 11
  • 4
0
votes
1 answer

Get Channel Subscriptions with TWITCH API

Iam trying to get the Channel Subs of a Channel with the following call: https://api.twitch.tv/kraken/channels//subscriptions?client_id=XXX&oauth_token=XXX But i get always this response: { "error": "Forbidden", "status": 403, …
Solu
  • 73
  • 2
  • 9
0
votes
0 answers

Troubles Sending Message in IRC using python

I am trying to create an irc bot using python, but I'm getting an error. When I try to check for a message sent, the PRIVMSG doesn't send a message to the chat, but the test print statement outputs. If I just try to send a message when anything is…
0
votes
1 answer

Getting User profile connections with a bot account

I'm trying to add a feature to my Discord bot: when my Twitch account gets a new follower, and if the follower's Twitch account is linked to his Discord account, when he gets into my server he's getting automatically a new role. So my question is:…
Ankomm
  • 553
  • 2
  • 7
  • 15
-1
votes
1 answer

Estimating Google Cloud Run costs for Twitch Chatbot Client

I am working on a Twitch Chatbot and am planning to deploy the chatbot client on Google Cloud Run. I am planning to use the NojeJS API plainly because I am familiar with the language. Before I do that I would like to understand how an IRC client…
Gaurang
  • 313
  • 1
  • 9
1 2 3
11
12