mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
(Twitch) Is there a command to follow a channel? #258198 17/06/16 02:44 PM
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
Hey,
If I want to follow a channel, is there a way to do so via mIRC?
Any command or something?
Thanks laugh

Re: (Twitch) Is there a command to follow a channel? [Re: Dog980] #258199 17/06/16 03:32 PM
Joined: May 2015
Posts: 249
splinny Offline
Fjord artisan
Offline
Fjord artisan
Joined: May 2015
Posts: 249


Dont give a fish - teach to fish!
Re: (Twitch) Is there a command to follow a channel? [Re: splinny] #258204 17/06/16 06:51 PM
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
How does this code work?
Which variables do I have to change?
Where do I put the name of the channel?

Thanks for helping smile

Re: (Twitch) Is there a command to follow a channel? [Re: Dog980] #258208 18/06/16 08:55 AM
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
Anyone?

Re: (Twitch) Is there a command to follow a channel? [Re: Dog980] #258215 18/06/16 08:37 PM
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
Can anyone help?

Re: (Twitch) Is there a command to follow a channel? [Re: Dog980] #258219 19/06/16 08:18 PM
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
????????????????

Re: (Twitch) Is there a command to follow a channel? [Re: Dog980] #258225 20/06/16 06:10 AM
Joined: May 2015
Posts: 249
splinny Offline
Fjord artisan
Offline
Fjord artisan
Joined: May 2015
Posts: 249
If you still can not solve problems that can be solved with simple on-forum\google search, what are you going to do next when some real problems will appear?


Dont give a fish - teach to fish!
Re: (Twitch) Is there a command to follow a channel? [Re: splinny] #258244 21/06/16 08:30 AM
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
Im new to this program, so I dont really understand most of the things.
If you can give me something to read so I can understand the code, it is also a good solution.
Thanks

Re: (Twitch) Is there a command to follow a channel? [Re: Dog980] #258245 21/06/16 08:37 AM
Joined: Dec 2008
Posts: 1,511
westor Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
You can read the mIRC Help file (/help) or visit this link to read more about the mSL.

Re: (Twitch) Is there a command to follow a channel? [Re: westor] #258248 21/06/16 10:43 AM
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
I still didnt understand how to create a follow command..

Re: (Twitch) Is there a command to follow a channel? [Re: Dog980] #258249 21/06/16 11:36 AM
Joined: Dec 2008
Posts: 1,511
westor Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
Have a look into this Twitch related code and may you will find out that you need for: http://hawkee.com/snippet/16487/

Re: (Twitch) Is there a command to follow a channel? [Re: westor] #258250 21/06/16 12:12 PM
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
He says in there thats it in the twitch commands, but there is no link to a file on twitch commands

Re: (Twitch) Is there a command to follow a channel? [Re: Dog980] #258251 21/06/16 01:24 PM
Joined: Apr 2010
Posts: 910
F
FroggieDaFrog Offline
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 910
Splinny linked to a post containing EXACTLY what you are looking for:

Originally Posted By: paper0rplastic
Code:
alias followchan {
  var %json followput
  JSONOpen -duw %json https://api.twitch.tv/kraken/users/ $+ $lower($me) $+ /follows/channels/ $+ $lower($1)
  JSONUrlMethod %json PUT
  JSONUrlHeader %json Connection close
  JSONUrlHeader %json Accept application/vnd.twitchtv.v3+json


  ;; replace "VALID_OAUTH_TOKEN_HERE" with... a valid oauth token
  JSONUrlHeader %json Authorization OAuth VALID_OAUTH_TOKEN_HERE


  JSONUrlGet %json
}


You will need my json parser that can be found: HERE

You will also need a valid oauth token which is beyond the scope of your question. You can however download and load mTwitch.core.mrc and mTwitch.Oauth.mrc from HERE into mIRC and then in mIRC enter the following command to get an oauth token:

Code:
/mTwitch.OAuth.Config


--

People linked all of this to you. They weren't being butts about it, but directing you. Why did you choose to ignore each of them?

Last edited by FroggieDaFrog; 21/06/16 01:27 PM.

I am SReject
My Stuff
Re: (Twitch) Is there a command to follow a channel? [Re: FroggieDaFrog] #258253 21/06/16 02:23 PM
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
I didnt understand this
What do I need to put in the window that pops up when I use:


Code:
/mTwitch.OAuth.Config

Thanks for helping

Re: (Twitch) Is there a command to follow a channel? [Re: Dog980] #258255 21/06/16 02:51 PM
Joined: Apr 2010
Posts: 910
F
FroggieDaFrog Offline
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 910
You will need to fill out this form: https://www.twitch.tv/kraken/oauth2/clients/new

The "Redirect URI" should be
Code:
http://localhost



Once you have configured the script. click save and close the popup box, then in mIRC enter the following:
Code:
/mTwitch.OAuth.Generate

Last edited by FroggieDaFrog; 21/06/16 03:02 PM.

I am SReject
My Stuff
Re: (Twitch) Is there a command to follow a channel? [Re: FroggieDaFrog] #258257 21/06/16 04:23 PM
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
I downloaded and loaded all 3 files you said into mIRC.
After this I filled the form in https://www.twitch.tv/kraken/oauth2/clients
and the form in the popup box.
Then I clicked save and closed it.
What do I need to do now?
And what do I replace the VALID_OAUTH_TOKEN_HERE with?

Thanks a lot for your help and time.

Re: (Twitch) Is there a command to follow a channel? [Re: Dog980] #258274 23/06/16 09:11 AM
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
???

Re: (Twitch) Is there a command to follow a channel? [Re: Dog980] #258312 24/06/16 03:10 PM
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
Can anyone help??

Re: (Twitch) Is there a command to follow a channel? [Re: Dog980] #258329 25/06/16 09:49 AM
Joined: Jun 2016
Posts: 26
D
Dog980 Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jun 2016
Posts: 26
?????

Re: (Twitch) Is there a command to follow a channel? [Re: FroggieDaFrog] #258330 25/06/16 10:00 AM
Joined: Dec 2008
Posts: 1,511
westor Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
Quote:
Once you have configured the script. click save and close the popup box, then in mIRC enter the following:
Code:
/mTwitch.OAuth.Generate


Stop flooding and respect the timezone's!!

Did you do that the @FroggieDaFrog said you to do??

Page 1 of 2 1 2