/
tubepress.com

YouTube API Setup

One-time setup procedure required by Google


TubePress needs to regularly communicate with YouTube on your behalf. To sort out all the incoming requests, and for quota purposes, Google mandates that everyone supplies "API credentials" with each message. It's the rough equivalent of showing someone an ID card before you have a conversation.

Setting up your API credentials is easy, free, and should take less than 5 minutes.

  1. Sign into the Google Developer's Console. If you don’t already have a Google account, you will need to sign up for one.
  2. Near the top left of the screen, there's a project-selection drop-down menu. If you don't have any projects (which will be the common case), this will say "Select a project".

    select a project

  3. Click that drop-down, then click the "New project" button in the ensuing popup window.

    create new project

  4. Give the project any name you want, then click the "create" button.

    name and create new project

  5. Wait a few seconds for the project to be created, then use the drop-down from Step 2 to select your new project

    select new project

  6. Click the blue "+ Enable APIs and Services" button near the top of the screen.

    enable APIs and Services button

  7. Type in "youtube" in the search box, then select “YouTube Data API v3” from the results.

    API library welcome

    YouTube Data API v3 search result

  8. Click the big "Enable" button on the ensuing page.

    enable YouTube Data API

  9. Click the "create credentials" button on the ensuing page.

    create credentials button

  10. In the form that shows up, select "YouTube Data API v3" in the first dropdown, "Web server (e.g. node.js, Tomcat)" in the second drop-down, then "Public data". Finally, click the "What credentials do I need?" button.

    credentials wizard

  11. You'll be presented with a server key. Copy this key as shown below, then click the “Done” button.

    copy new API key

Edit on GitHub