After some research i think i’ve got it.
I directly inserted the Client ID to the URL and it works atm
twitch_api = 'https://api.twitch.tv/kraken/streams/'.$channel.'?client_id=';
Don’t know if this is the best solution :\
After some research i think i’ve got it.
I directly inserted the Client ID to the URL and it works atm
twitch_api = 'https://api.twitch.tv/kraken/streams/'.$channel.'?client_id=';
Don’t know if this is the best solution :\