CommentTribe

Your YouTube API key

What it is, how to get one, and what CommentTribe does with it.

Why a key?

CommentTribe works without any setup. A YouTube Data API key lets it do more: read a video's whole comment section instead of only what's on screen, and check the channels you follow for new videos.

There are two ways to get one. Both end in the same place: one key, restricted to the YouTube Data API, saved in CommentTribe's settings.

The quick way: sign in with Google

Open CommentTribe's settings and click โœจ Get a key, then Sign in with Google. It takes about a minute.

  1. Pick your Google account. Google shows a consent screen that names CommentTribe and the permission it asks for.
  2. Allow it. CommentTribe asks for the cloud-platform permission because it is the only one that covers the three things it needs to do below.
  3. CommentTribe does the setup. In your account it:
    • creates one new Google Cloud project, named "CommentTribe key" (or reuses the one it made before),
    • turns on the YouTube Data API (and the API Keys API) in that project, and
    • creates one API key there, restricted to the YouTube Data API (or reuses the one it made before), and saves it in the extension.
  4. It lets go of the access. The moment the YouTube API key is saved, CommentTribe revokes the permission. It doesn't keep the sign-in token, and it never touches your other projects or data.
The Sign in with Google card on CommentTribe's key page, explaining that it creates a CommentTribe key project and a read-only YouTube API key, then releases its access
The Sign in with Google card on the key page.

The project and YouTube API key belong to you. You can see or delete them any time in the Google Cloud console, and check or remove CommentTribe's access at myaccount.google.com/permissions. The privacy policy has the full details.

The hands-on way: step by step

Prefer to click through it yourself? In the key page, choose Show me step by step and CommentTribe opens each Google Cloud page with sticky notes pointing at what to click. Or follow these steps on your own. You'll need a Google account. Each link opens the right page.

  1. Create a project. Open New Project, give it any name you like, and click Create.
    Screenshot: the New Project page with the Create button
  2. Switch to the new project. Click the ๐Ÿ”” bell at the top right, then Select Project under the project you just made. Its name should now show in the project picker at the top.
    Screenshot: the notifications panel with Select Project
  3. Turn on the YouTube API. Open the YouTube Data API v3 page and click Enable.
    Screenshot: the YouTube Data API v3 page with the Enable button
  4. Make your key. Open Credentials, click Create credentials and pick API key. Under API restrictions, choose Restrict key and tick YouTube Data API v3, then click Create.
    Screenshot: the Create API key panel with YouTube Data API v3 ticked
  5. Copy it into CommentTribe. Copy the key, open CommentTribe's General Settings, paste it into the YouTube Data API box and click Verify.
    Screenshot: CommentTribe's settings with the key box and Verify button

Restricting the key to the YouTube Data API is optional but recommended: if the key ever leaked, it couldn't be used for anything else in your account.

Video guides

Making a YouTube API key is a common task, and plenty of people have filmed it. Google's pages change from time to time, so pick a recent one.

Search YouTube for API key walkthroughs โ†—

A CommentTribe walkthrough video is coming soon.

Using CommentTribe without a key

You don't need a key to use CommentTribe. Without one, it works from the comments YouTube has already shown you on the page.

FeatureWithout a keyWith a key
Star commenters and see them highlightedYesYes
Find your starred people in a video's commentsOnly comments that have loaded as you scrollThe whole comment section, up to your scan depth
Remember where you've seen them (Activity)Comments picked up as you scrollEvery scan
Community Sync: finds shared by other usersYes, if you turn it onYes, if you turn it on
Latest video and stream for each personNoYes
New-upload notificationsNoYes
Video titles in the Activity historyNoYes

The limits come from how YouTube loads comments: a few at a time, as you scroll. A starred person's comment buried at number 800 won't be found unless you scroll that far. With a key, CommentTribe asks YouTube for the comments directly, so it can read hundreds or thousands at once. Checking channels for new uploads also needs the API, so that only works with a key.

How the daily quota works

Google gives every project 10,000 units a day for the YouTube Data API. Each request uses units, and the allowance resets at midnight Pacific time. If it ever runs out, requests stop working until the reset, and nothing breaks.

What CommentTribe uses

ActionUnits
Reading 100 comments on a video1 unit
The top-100 scan that runs on every video1 unit
A deep scan at the maximum depth, 5,000 commentsup to 50 units
Checking up to 50 followed channels for new uploads1 unit per check
Looking up a channel's latest video, only when its video count changesa few units

Why a 5,000-comment scan depth is fine

Deep scan depth goes up to 5,000 comments. That sounds like a lot, but it's at most 50 units a video, and a scan stops early when a video has fewer comments, which most do. Watching 40 videos in a day at full depth uses at most 2,000 units. Add channel checks every 5 minutes for your priority people (about 300 units a day) and a busy day still comes in under a quarter of the daily allowance.

How CommentTribe keeps track

Screenshot: the Daily Client Tally bar with the Sync Google API Quota button

Questions

Can CommentTribe see my Google account?

No. Signing in only lets it set up the project and key, and that access is revoked right after. It never reads your Gmail, YouTube account, other projects or anything else.

What happens if the daily allowance runs out?

Requests stop until midnight Pacific, then start again. CommentTribe notices and pauses its API work until the reset, so nothing needs fixing.

Can I use a key I already have?

Yes. Paste any YouTube Data API v3 key into General Settings and click Verify.

I removed my key, or reinstalled. Can I get it back?

Yes. While the key box in General Settings is empty, a ๐Ÿ”‘ Get my key back button shows under it. Sign in with the same Google account and CommentTribe fetches the key it made for you, fills it in and checks it. It never makes a new project, so running it again doesn't use up your Google Cloud projects.

How do I remove the key?

Clear the key box in General Settings to stop using it. To delete it for good, delete the key or the whole project in the Google Cloud console.