Points To Remember You must have a project created in Developers console to use Youtube data api and other api's. You should save the youtube refresh token in a database or file where you can save it for a long time and use it. Youtube refresh token is generated only once , so if you want to regenerate it go to google accounts page and revoke access to your project and then re authenticate. To revoke access, go to Connected Apps and Sites in the above mentioned url and click on your project and then click revoke access to revoke access to the app. Steps to Use Youtube Data Api v3 You need to create a new Project in your at Developers Console . After creating a project you need to go to Project -> Api & auth -> Credentials , and then create a new Client ID . Go to Project -> Api & auth ->APIs and enable Youtube Analytics API and YouTube Data API v3 . This will enable your project to use consume these a...