Twitch Follower
How do I make an twitch follower?
What is a twitch follower? How do you make a twitch follower? This script and codes were developed by Mei Weng Brough-Smyth on 06 November 2022, Sunday.
Twitch Follower - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Twitch Follower</title> <link rel='stylesheet prefetch' href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.css'>
<link rel='stylesheet prefetch' href='http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css'>
<link rel='stylesheet prefetch' href='http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <div class="row text-center"> <h1><a href = "twitch.tv"><i class="fa fa-twitch"></i></a> Twitch</h1> </div> <div class="liveData row"> <div class="col-xs-12"><h3><i class='fa fa-video-camera'></i> Live Channels</h3></div> </div> <div class="appendData"> </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Twitch Follower - Script Codes CSS Codes
.row { padding-top: 20px;
}
Twitch Follower - Script Codes JS Codes
var followers = [];
$.ajax({ dataType: "jsonp", url: 'https://api.twitch.tv/kraken/users/hicough/follows/channels', }).done(function ( data ) { var total = data._total - 1; var follows = data.follows; for (var i = 0; i < total; i++) { var channelInfo = follows[i].channel; var addHtml = "<div class='col-xs-12 row'><a href='" + channelInfo.url + "'>"; addHtml += "<div class='col-xs-2'><img class='img-responsive' src='" + channelInfo.logo + "'></div>"; addHtml += "<div class='col-xs-10'><h4>" + channelInfo.display_name + "<div class=" + channelInfo.name + "></div>"; addHtml += "<small>" + channelInfo.status + "</small></h4></div>"; addHtml += "</a></div>"; $(".appendData").append(addHtml); followers.push(channelInfo.name); if (i === (total-1)) { getLiveInfo(); } }
});
function getLiveInfo() { for (var i = 0; i < followers.length; i++) { var channelUrl = "https://api.twitch.tv/kraken/streams/" + followers[i]; $.ajax({ dataType: "jsonp", url: channelUrl, async: false, }).done(function ( channelObject ) { if (channelObject.stream) { var live = "<a href=" + channelObject.stream.channel.url + "><div class='col-xs-4'>"; live += "<img src=" + channelObject.stream.preview.medium + " class='img-responsive'>"; live += "<h4>" + channelObject.stream.channel.display_name + "<br><small>playing " + channelObject.stream.channel.game; live += "</a></small></h4></div>"; $(".liveData").append(live); } }); }
}
Developer | Mei Weng Brough-Smyth |
Username | melatonind |
Uploaded | November 06, 2022 |
Rating | 3 |
Size | 2,345 Kb |
Views | 44,528 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Junk | 1,439 Kb |
Simple Linear Regression with Editable Table | 3,264 Kb |
Twitch Follower 2 | 1,830 Kb |
Hacker News 2 | 2,135 Kb |
Sieve of Eratosthenes | 2,341 Kb |
Find the AWS service you need right now | 2,634 Kb |
Cobbled together toy robot. | 1,903 Kb |
Random Array | 1,551 Kb |
Hacker News | 2,844 Kb |
The Monty Hall Problem | 4,360 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Delete Hover | Chungman93 | 2,557 Kb |
Slider | Mohammed-fawzy | 2,634 Kb |
Brown by pure CSS, no image, no javascript | Aaronchuo | 2,652 Kb |
Disable JavaScript execution from console | Ludviglindblom | 2,534 Kb |
FontAwesome icons with animation | Nicotinell | 2,083 Kb |
A Pen by Rob Levin | Roblevin | 2,787 Kb |
Bootstrap Carousel Fade Transition | Rowno | 2,484 Kb |
TweenMax transformOrigin Bubble | Nicolund | 2,209 Kb |
Boxes | H3l1um | 2,563 Kb |
Css Rotating 3d cubes different speed | Dghez | 2,364 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!