I am trying to make a chat bot for a channel, and i already have simple on-text commands, caps block, and link block. I want to get into writing sockets that the bot can use for stuff like following someone that says !follow or change the current game using the kraken API.
I have no experience with sockets or how to use them. I would like to start with the follow a user thing. I wonder how i would use this:
Code:
 curl -H 'Accept: application/vnd.twitchtv.v3+json' -H 'Authorization: OAuth <access_token>' \
-X PUT https://api.twitch.tv/kraken/users/ [ my bot ] /follows/channels/ [ who it should follow ] 

Thanks for help.


#imAbeginner
i made a chat bot for mark_paintball! http://twitch.tv/mark_paintball