Hey, thanks for your reply, and sorry for my late response! I’ve attempted to use your code, but still cannot get it to work… This is what I tried:
<?php $channelsApi = 'https://api.twitch.tv/kraken/channels/'; $channelName = 'somechannel'; $clientId = 'myClientID'; $ch = curl_init(); curl_setopt_array($ch, array( CURLOPT_HTTPHEADER => array( 'Client-ID: ' . $clientId ), CURLOPT_RETURNTRANSFER => true, CURLOPT_URL => $channelsApi . $channelName )); $response = curl_exec($ch); curl_close($ch); $followAPI = json_decode(@file_get_contents(channelsApi . $channelName), true); echo $followAPI['status']; ?>