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

How to get a user's OAuth2/access token using Django allauth package

I am using django-allauth in my Django application, and my registration process is handled by Twitch, using allauth's Twitch provider. As of now, users can register on the website using Twitch, log out, and later log back in using Twitch with no…
hoseyn mir
  • 27
  • 5
1
vote
0 answers

Passed scopes to Twitch API being ignored by Auth0

I have been trying to read twitch user subscription data using Auth0 - to no avail. I found some information in their documentation, explaining how to add customs scopes to the authentication request. I am importing the createAuth0Client function…
1
vote
1 answer

Axios data not being carried over to data when mounted in Vue

I'm trying to call data from the Twitch IGDB API (with this we use POST instead of GET) with axios calls in Vue 2, but it's not working like I expect it to. I can log the access_token, but not the data from the fetch request. I've made a separate…
Holden
  • 55
  • 6
1
vote
1 answer

Request doesn't go through the middleware in express

I am integrating a Twitch API for subs, and having issue with getting the webhook callback response to the middleware function that it should check the header and verify the signature. I am receive the right response! however, it stops right…
John Yacoub
  • 91
  • 1
  • 8
1
vote
2 answers

Implementing Twitch Gem into Ruby on Rails

I am still a bit new with Ruby On Rails I managed to connect a youtube API without issues for pulling live streams. Now I am trying to do the same with Twitch and I found this gem https://github.com/mauricew/ruby-twitch-api . I am just confused as…
1
vote
1 answer

JavaScript bot to sync Discord channel and Twitch chat

I'm a small twitch streamer / content creator who's launching my Discord soon, and thought it would be cool if I had an IRC channel in my Discord synced up to my Twitch IRC chat when I livestream! I wanted to accomplish this by creating a bot which…
1
vote
2 answers

Can't find a way to get Twitch API information through requests.py

I am stuck on this API thing. I want to print the incoming json file (channel points in specific) but it just prints the whole page in html format. Here is my code: import requests import json client_id = secret oauth_token = secret my_uri =…
Androtex
  • 31
  • 7
1
vote
0 answers

Trying to automate Streamloots - How to stay logged in without an authorize API?

I'm trying to develop a service that listens for Twitch subscribe events (through its API) and gifts chests to the user that subscribed. Twitch allows me to get an auth token for the user and get a new one everytime it expires, so that part is…
1
vote
1 answer

TwitchIO: Delete a single message in channel

How can I delete a single message sent by a user using TwitchIO? @bot.event async def event_message(ctx): await ctx.content.delete() # Does not work await ctx.content.remove() # Does not work await ctx.channel.timeout(ctx.author, 1) #…
Persson
  • 422
  • 4
  • 21
1
vote
1 answer

Twitch API returning 403 with Authorization and Client ID?

I'm trying to list active Twitch streams from a Game ID. My code goes as follows: $ch = curl_init(); $URL = 'https://api.twitch.tv/helix/streams?game_id=3412'; $X = [ 'Authorization: Bearer {Client Secret}', 'Client-ID: {Client…
Jake
  • 1,469
  • 4
  • 19
  • 40
1
vote
1 answer

How can I capture text after a if (message == "...") in javascript

I am trying to make a twitch bot using javascript and tmi.js and I need to make a command that can capture the data after someone says the word !add, I don't know what module to use in this case, any ideas? client.on("chat", (channel, user, message,…
stirious
  • 24
  • 5
1
vote
1 answer

Authorizing on Twitch doesn't redirect back to app (OAuthSwift)

I'm using OAuthSwift to send the user to Twitch to authorize my app. However, once the app is authorized, the user isn't sent back to my app. I get a message that appears in Safari: You are about to leave Twitch. Twitch has no control over the…
winston
  • 3,000
  • 11
  • 44
  • 75
1
vote
2 answers

How can I delete twitch message? Single message without timeout. [tmi.js]

I want to delete a single message on twitch using tmi.js without using timeout on the sender.
Erix
  • 11
  • 2
1
vote
0 answers

C# - Check if twitch stream is online or not

I am making a console C# application which is supposed to check whether a Twitch Stream is online or not. I have to use Twitch API for that, I believe, which I am not very familiar with. So I need help in coming up with a solution. I have done some…
1
vote
0 answers

How to listen for Twitch user Online status with Helix API?

I am attempting to create the backend of a Twitch Extension that will search for all other users streaming the same game. The only way to get the Category with which to compare games is if the channel in question is live. This is fine, as the…
Clavaat
  • 67
  • 1
  • 10
1 2
3
11 12