Twitch viewers, follow and title code

Hello there,

All of what you want can be achieved by using Twitch’s API.

You can use GET /streams/:channel/ (:channel is the channel you are trying to get the info from) to get the title and viewers if the channel is live
or you can use GET /channels/:channel/ to get the title if the stream is offline

In order to get a follow button on your website you would need to have the users authenticate with the user_follows_edit scope and then you can use PUT /users/:user/follows/channels/:target (:user is the authenticated user and :target is the channel that you want to be followed)

You can find the full information on the github page: https://github.com/justintv/twitch-api

Let me know if you have any more questions