Cannot access a certain channel via PHP script

There isn’t really a way to tell. The rules do state that you need to ask for permission first or risk getting banned. You should talk to the channel creator and see about permission.