I tried a bit to solve this problem. Basically, I'm just trying to connect to my YouTube channel and get a list of future and past live broadcasts from my PHP based application. I managed to create a service account on the api console and now it works fine (since I used to have some oauth authentication errors), but now I get this error in the error log:
Uncaught exception 'Google_Service_Exception' with message 'Error calling GET
https://www.googleapis.com/youtube/v3/liveBroadcasts?part=id%2Csnippet&mine=true:
(403) The user is not enabled for live streaming.' in etc...
My youtube account is associated with my personal @ gmail.com account. I suggest that somehow I have to add @ developer.gserviceaccount.com to my YouTube channel, but although I tried to find any instructions for this, I could not find. I have real-time streaming on my personal gmail account, and also have some test events.
Thank and help in this matter, please. Thanks!
source
share