Twitch Status Tool PHP Script

Description
// 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 script as 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
Instructions
You will get all Instructions in the README file after your purchase. Also, feel free to watch this short explanation video
In general you have to do these steps:
1: Register your app at Twitch Developer to obtain a client ID and client secret
2: Paste your Client ID and Client Secret into the config.ini file into the according keys
3: Download the package, extract it and copy the files into the folder of your website / webapp (where the websites main index.php file is located).
4: After that, you only need to insert these three lines into your PHP File (in most cases "index.php") to get it running:
require('twitch_status_checker.php'); // change path if you created a folder
$yourChannelName = new StreamerStatus("YourChannelName");
echo $yourChannelName->returnLiveStatus(); // result: "online" or "offline"
EASILY ACCESS STREAM INFORMATIONS!
When a stream is online, you get access to the following informations with the returnStreamInfos() Function:
id, user_id, user_login, game_id, game_name, type, title, viewer_count, started_at, language, thumbnail_url, tag_ids, is_mature
It is also easy to use and included in the Code Example when you buy the script:
$streamInfos = $stream->returnStreamInfos(); echo $streamGame = $streamInfos['game_name']; // Returns the Game Name // instead of "game_name" you can also use "title", "viewer_count", "thumbnail_url" and many more!
New in Version 2.6
* improved Performance * added a new Function: getMultipleStreamStatus - get up to 100 Stream-Status at once * expanded Example index.php File
| Author | Fragxz |
|---|---|
| Category | Scripts & Code / PHP Scripts / Miscellaneous |
| Price | $13 |
| Extended License | $39 |
| Rating | 5.00 from 2 ratings |
| Reviews | 2 |
| Likes | 6 |
| First Release | Nov 22, 2020 |
| Last Update | Jun 12, 2023 |
| Software version | PHP 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 |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
Perceptle
Perceptle is a daily browser-based game that challenges you to test your sensory intuition through five quick estimation and rhythm-based rounds.
Other · 1,489 views · 9 clicksOther · Week 47 · 1,489 views · 9 clicks
🥈
Free LinkedIn Likes From Real
Get free LinkedIn likes on your posts from real members who react by hand. No
SaaS · 1,632 views · 10 clicksSaaS · Week 47 · 1,632 views · 10 clicks
🥉
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 9,176 views · 75 clicksSaaS · Week 47 · 9,176 views · 75 clicks
#4
aaas.market
407 reliable micro tools for solo founders, marketers and creators. They work in your browser
SaaS · 1,597 views · 5 clicksSaaS · Week 47 · 1,597 views · 5 clicks