mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2016
Posts: 7
L
lostay Offline OP
Nutrimatic drinks dispenser
OP Offline
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 smile

Joined: Jul 2015
Posts: 13
S
Pikka bird
Offline
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.
Joined: Feb 2016
Posts: 7
L
lostay Offline OP
Nutrimatic drinks dispenser
OP Offline
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

Joined: Jan 2004
Posts: 1,358
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,358

Joined: Feb 2016
Posts: 7
L
lostay Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
L
Joined: Feb 2016
Posts: 7


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.


Link Copied to Clipboard