Enalbe The following APIs here -> https://console.developers.google.com/apis/
- Google+ API
- YouTube Data API
Create a Project under Projects and Assign a credential for yourself. Download the credential file and put it into a file called client_secrets.json.
Install necessary libraries like this: