Ana Sayfa / Kod ve Scriptler / Twitch Status Tool PHP Script

Twitch Status Tool PHP Script

PHP - Bir Twitch.tv yayınının mevcut durumunu (çevrimiçi veya çevrimdışı) almak için yalnızca 3 satır kod - web siteniz / klanınız / blogunuz için!

  • Yayın tarihi22 Kasım 2020
  • Nerede çalışırPHP 7.0, PHP 7.1, PHP 7.2, PHP 7.3, PHP 7.4, PHP 8.0, PHP 8.1, PHP 8.2, PHP 8.3, PHP 8.4
  • Son güncelleme12 Haziran 2023
  • Canlı demoVar
Twitch Status Tool PHP Script

Overview

// News: OCTOBER 2026 - still works!

To see if this tool still works, just click "Live Demo" or look at my website: https://twitch-status-tool.fragxz.de - It uses the same scriptas you can buy here. If the streams show the corresponding status, it works!

Includes a Setup Guide for Wordpress:

  • Tested with Wordpress v6.0.1 ✔
  • Tested with default Theme "Twenty Twenty v2.0" ✔
  • other themes may require additional customization

TWITCH STATUS TOOL

  • Do you want to check if a Twitch.tv Stream is online?
  • Do you want to embed the stream when it is online?
  • Do you have multiple Streamers in, for example, your community, that you want to link, and show their current stream status?

This Twitch Status Tool allows you to do that! It solves the hassle of implementing the OAuth and looking at the Twitch OAuth 2.0 flow Documentation for you!

You can easily integrate this PHP based solution with only 3 lines of code into your website or webapp. It will return the current online or offline status of a Twitch.tv streamer. With a loop, you can also check multiple streamer!

The "Twitch Status Tool" isn't endorsed by Twitch or Amazon and doesn't reflect the views or opinions of Twitch or anyone officially involved in producing or managing Twitch or Amazon.

Features

  • very easy to use
  • fast implementation: only 3 lines of code needed
  • automatically gets the OAUTH token after first script runtime
  • automatically refreshes the twitch OAUTH token (expires every 60 days)

Requirements

  • basic PHP knowledge
  • PHP Version: at least version 7.0 - higher is recommended
  • Server needs to have permissions to read and write to the config-File
  • cURL needs to be enabled in the php.ini / allowed on the server