Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
How do I authenticate a Twitch API request?
Forums
Active Threads
Search
Who's Online
Help
Print Thread
How do I authenticate a Twitch API request?
#
256708
10/02/16
06:33 PM
Joined:
Feb 2016
Posts: 7
L
lostay
OP
Nutrimatic drinks dispenser
OP
lostay
Nutrimatic drinks dispenser
L
Joined:
Feb 2016
Posts: 7
Yo, I'd like to access some features of the Twitch API (like updating the current Game) but I need to be authenticated.
I'm using "THE" JSON parser and I'm having trouble figuring out how I can validate myself.
Thanks
Copy Link to Clipboard
Re: How do I authenticate a Twitch API request?
lostay
#
256709
10/02/16
07:05 PM
Joined:
Jul 2015
Posts: 13
S
Sissou
Pikka bird
Sissou
Pikka bird
S
Joined:
Jul 2015
Posts: 13
Add this in the perform or in a "ON CONNECT" script
raw CAP REQ :twitch.tv/membership
And for update the game, use the SReject's scripts.
https://github.com/SReject/mTwitch
You need mTwitch.Core.mrc and mTwitch.StateToTopic.mrc
Last edited by Sissou;
10/02/16
07:07 PM
.
Copy Link to Clipboard
Re: How do I authenticate a Twitch API request?
Sissou
#
256716
11/02/16
12:36 AM
Joined:
Feb 2016
Posts: 7
L
lostay
OP
Nutrimatic drinks dispenser
OP
lostay
Nutrimatic drinks dispenser
L
Joined:
Feb 2016
Posts: 7
Is there no other way? I don't feel like using that just for a simple request using the JSON Parser
Copy Link to Clipboard
Re: How do I authenticate a Twitch API request?
lostay
#
256719
11/02/16
01:17 AM
Joined:
Jan 2004
Posts: 1,361
L
Loki12583
Hoopy frood
Loki12583
Hoopy frood
L
Joined:
Jan 2004
Posts: 1,361
1. Obtain an oauth token with the proper scope
2. Craft and send the simple request
https://github.com/justintv/Twitch-API/blob/master/authentication.md
https://github.com/justintv/Twitch-API/blob/master/v3_resources/channels.md#put-channelschannel
http://hawkee.com/snippet/10194/
Copy Link to Clipboard
Re: How do I authenticate a Twitch API request?
Loki12583
#
256724
11/02/16
12:27 PM
Joined:
Feb 2016
Posts: 7
L
lostay
OP
Nutrimatic drinks dispenser
OP
lostay
Nutrimatic drinks dispenser
L
Joined:
Feb 2016
Posts: 7
Originally Posted By: Loki12583
1. Obtain an oauth token with the proper scope
2. Craft and send the simple request
https://github.com/justintv/Twitch-API/blob/master/authentication.md
https://github.com/justintv/Twitch-API/blob/master/v3_resources/channels.md#put-channelschannel
http://hawkee.com/snippet/10194/
Yeah I've read that over and over and I still can't seem to do it...
Can you post an example on how you'd do it?
Thanks.
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage