First off, it is written in Python, not PHP. The tutorial video has been removed by Youtube sadly, but looking at the code, you need to fill up the txt files in data/ directory with stuff you want to post and then get the proper client_secret.json for your google/youtube account. Search for "google create client_secret.json" to find more info about it.