How to get stream key for twitch.tv

I am writing an application to translate to twitch.tv using C++ . For this streaming I need to know the user stream key, usually the user receives this key from the page,

http://www.twitch.tv/user_name/dashboard/streamkey

But I would like to get it through my application using username / password.

Any ideas?

+7
stream key twitch
source share
4 answers

You will get it here (change "yourtwitch" to your nickname ")

http://www.twitch.tv/yourtwitch/dashboard/streamkey

The link is simply moved. You can get this link on the twitch.tv main page, click on your name, then "Dashboard".

+8
source share

It may be an old thread, but I came across it and decided that I would give a definitive answer.

twitch api is based on json and in order to get your stream key you need to authorize your application for use with api. You do this on the connections tab in your profile directly on twitch.tv. At the bottom of this tab is “register an application” or something similar. Register it and you will get a client id header for your receiving requests.

Now you need to attach your Oauthv2 key to your headers or as a parameter during the request to the next receive request.

curl -H 'Accept: application / vnd.twitchtv.v3 + json' -H 'Authorization: OAuth' \ -X GET https://api.twitch.tv/kraken/channel

documentation here

As you can see in the above documentation, if you did these two things, your stream key will be available to you.

As I said - Sorry for the hit, but some people find it difficult to read jerking * api.

Hope this helps someone in the future.

+4
source share

You can get the stream key through the API: https://github.com/justintv/twitch-api

0
source share
0
source share

All Articles