I have a working example for you here: http://twitch.apiexampl.es/followers.php
You can see the examples source code at: http://twitch.apiexampl.es/followers.txt
Other examples are visible in the same manner at http://twitch.apiexampl.es/ Please take a look at the http://twitch.apiexampl.es/_README.TXT about the new requirement of Client-ID. I have added a function that can be added to all these examples to switch from ‘file_get_contents’ to a function using cURL with the header easily set.
The example of this function can be seen at http://twitch.apiexampl.es/fgc2curl.txt