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
0 answers

How to check if a Twitch user is live or not for a FlutterFlow application?

I'm working in FlutterFlow which is my first step into learning development of any sort after being a graphics guy for a long time. I stumbled upon this answer regarding Python and GraphQL: https://stackoverflow.com/a/71289342/12836123 With the…
0
votes
0 answers

Wordpress shortcode function - Get current status of Twitch Live

I've searched a lot and I couldn't find anything, I'm looking for a way to create a function to get the result if a channel is streaming or not and store the result in a shortcode. I have tried a thousand ways to make a request but I am unable, now…
0
votes
1 answer

Twitch: Client ID and OAuth token do not match

I'm trying to make a Discord bot that sends a notification if a specific streamer is live with a specific word in the title. When I tried to run the code I got the following error: {'error': 'Unauthorized', 'status': 401, 'message': 'Client ID and…
Kolpix
  • 11
  • 1
0
votes
1 answer

Why can't I get a Twitch bearer token with scope "moderator:read:chatters" via URL but I can with the CLI?

I have moderator privileges within the target channel I can get any other scope, such as moderator:manage:announcements I can get a valid bearer token with scope=moderator:read:chatters via the CLI using twitch token -u -s…
Busman
  • 575
  • 2
  • 6
  • 14
0
votes
1 answer

data.map is not a function when trying to fetch api from twitch

I am building a simple fan made page for a streamer using felix twitch api . 2 days now i cant get around with a problem im facing when trying to display fetched data to front end . My code is as follows. import React, { useState, useEffect }…
0
votes
0 answers

Best way to access Google APIs without user authorization from desktop application

I am trying to make a desktop application with Twitch API and Google API. Since this application requires Twitch user permission, a user needs to authorize my application through twitch's OAuth and I think there's no way to omit this process. Now, I…
slyx
  • 2,063
  • 1
  • 19
  • 28
0
votes
0 answers

Twitch API Login - React Native

I'm developing my first App, and I decided to use react native. The API requests I'm currently testing are working fine, but now I want a user to be able to login with the implicit grant flow from Twitch API. I do not have a backend, just my App. I…
0
votes
1 answer

Remix.run, Remix-Auth destroy user session if token validation fails

I am using Remix, along with Remix-Auth and using the Twitch API/OAuth, which requires that I check in with their /validate endpoint every hour docs. I had someone recommend that I use a resource route and POST to that if the validation endpoint…
MatDoak
  • 132
  • 5
  • 17
0
votes
1 answer

Twitch API's request data always empty on specific route and only on browser

Summary I am building a website(react app) integrated with twitch helix api. I use the Implicit grant flow to auth my website When request this https://api.twitch.tv/helix/videos route with game_id query param, it will always return an empty array a…
HsuTingHuan
  • 615
  • 1
  • 7
  • 23
0
votes
0 answers

Twitch API returning "Redirect URI does not match registered URI"

I am having a weird issue where Twitch's API isn't recognizing that both, the redirect URI in my code and the URI I provided are the same. The exact error is Parameter redirect_uri does not match registered URI On the Twitch API dashboard, I have…
0
votes
1 answer

Twitch login | Swift

i need to implement the Twitch login in swift app with implicit-grant-flow I think i should use this Authenticating a User Through a Web Service from apple for use a web authentication session to authenticate a user in my app (in this case Twitch…
alexmasu
  • 23
  • 2
0
votes
1 answer

Why is the twitch api not retuning anything?

I have a problem with this code : const getToken = async () => { const tokenResponse = await fetch( `https://id.twitch.tv/oauth2/token?client_id=${ID}&client_secret=${SECRET}&grant_type=${TYPE}`, { …
Jim
  • 669
  • 4
  • 10
  • 24
0
votes
1 answer

Downloading users subbed to my twitch via twitch API

I am trying to get a list of users who are subscribed to a twitch channel through the twitch API, I have setup the request to get the access token and then I am calling the API /helix/subscriptions/ passing in the access token to get the list of…
0
votes
1 answer

Streamlabs API personal access token doesn't work (401 error)

I'm trying to use Streamlabs API to have access to donations on my channel. Because Streamlabs use a complicated and time consuming system of app reviewing, I'm trying to use my personal API token available on my setting page : But it doesn't work,…
graille
  • 1,131
  • 2
  • 14
  • 33
0
votes
1 answer

Unable To Get Twitch API OAuth For PHP In 2022

I have been unable to get an OAuth token. I have spent about 4 hours trying. The various iterations and changes the Twitch API has been through is leaving me unsure and confused. The Twitch Developers now have a message posted stating V5 API…
Ron Piggott
  • 705
  • 1
  • 8
  • 26