I am using a little PHP script to get my channels previous broadcasts. When I run this script locally , everything works fine. When I upload it to my webspace, I get nothing. no errors, no warnings. no response at all.
There is a good possibility file_get_contents is failing. You should really be using cURL so you can also send the Client-ID, which will be a hard requirement in about a month. Check out this thread for more info about using cURL: Script doesnt work
For now, yes, you can run the function without the Client-ID. To get a Client-ID, just use the Register your application button at the bottom of this page.