twitch login, 2 factor login, follow/unfollow streamers, report inappropriate broadcasts and new features as the day progresses..
Feedback
Türkçe
Twitch login, 2 factor login, follow/unfollow streamers, report inappropriate broadcasts and new features as the day progresses..
- PHP 7.4 or higher
- This download script
- Edit test.php:8
- Run test.php
<?php
session_start();
include("api.php");
$use = new tw();
$look = $use->login("TWITCH-USERNAME", "TWITCH-PASSWORD");
echo $look;
<?php
session_start();
include("api.php");
$use = new tw();
$use->auth = $_SESSION['authcode'];
$look = $use->login("TWITCH-USERNAME", "TWITCH-PASSWORD");
echo $look;
if(isset($_POST['codetoken'])){
$check = $use->twofactor($_POST['codetoken'], $_POST['code']);
echo $check;
}
<?php
session_start();
include("api.php");
$use = new tw();
$use->auth = $_SESSION['authcode'];
$use->follow("wtcn");
<?php
session_start();
include("api.php");
$use = new tw();
$use->auth = $_SESSION['authcode'];
$use->unfollow("wtcn");
<?php
session_start();
include("api.php");
$use = new tw();
$use->auth = $_SESSION['authcode'];
$info = $use->getInfo("wtcn");
//0 = bio , 1 = username, 2 = pplink, 3 = offline pp, 4 = viewcount, 5 = Create Date, 6 = display name
$a = explode("`", $info);
echo '<img src="'.$a[3].'"/>';
<?php
session_start();
include("api.php");
$use = new tw();
$use->auth = $_SESSION['authcode'];
$use->report("reason for report", "StreamerUsername");