styc
styc

Youtube API Guide

Follow the step by step instructions below to get your Youtube API keys.

  1. Visit Google Developer Console and log in with your gmail account. If you do not have a gmail account you will need to create one.
  2. Once you have signed in, you should be at this url https://console.cloud.google.com/cloud-resource-manager. In the top left, click on create project. Give your project a name and click continue.
  3. Wait for the project to be created and then click on view project. Once that page has loaded you should see a dashboard screen as per the screenshot below.google-dev-project-dashboard
  4. In the middle of the screen, or if you scroll down on mobile you will see APIS. Click on the arrow link reading Go to APIS overview.
  5. At the top you will see a blue plus with the words Enable APIS and services. Click on that link.
  6. In the search field, type in Youtube and hit enter.
  7. In the list of options, click on Youtube Data API v3.
  8. Click on the blue enable button. Once that has finished loading, you should see a page as per the image below.google-dev-project-api-enabled
  9. On the right of the screen click on the blue button that says create credentials.
  10. The youtube API should already be selected. Click on user data and hit next.
  11. Enter in an app name, and your email addresses in the required fields then hit save and continue.
  12. You should now be on the scopes section. Scroll down and click save and continue.
  13. Under application type select Web application. Give the app a name of your choosing. UnderAuthorized redirect URIS add http://localhost:5000/api/google-auth-url and then hit create.
  14. Now you can download your credentials! This will be a json file that you can open and retrieve your clientId and client secret API keys from. Alternatively you can copy the clientId from the screen there and click done. Then on the left hand screen click credentials, the name of your OAuth credential, and then you should see your client secret there also.