YouTube plugin
Last updated
Last updated
YouTube is a leading online video sharing and social media platform where users can upload, view, and share videos. It hosts a wide variety of content, including music videos, vlogs, educational content, and much more, making it one of the most visited websites globally. YouTube is owned by Goggle.
Let users log in with their YouTube accounts, and fetch the list of videos they've uploaded.
First, open the Install new plugins screen in the Bubble editor.
To find this plugin, search for YouTube. Optionally, you can check the Login service checkbox to further filter the results. You can also scroll to the bottom of the filters list, under Built by and select Official to single out official plugins.
Check that the Bubble logo is visible in the bottom-right, and then click Install.
The YouTube API follows a common pattern of requiring two different keys to authenticate your app.
App ID: The App ID (also referred to as the API Key in some contexts) is essentially the public identifier for your app. Think of it like the name tag your app wears when it talks to YouTube. In this context, it's not to be confused with your secret access token: In fact, the Client ID doesn't need to be kept secret.
App Secret: The App Secret Key, on the other hand, is like a password. It's used to secure communication between your app and YouTube's servers. Exposure of the Secret Key can lead to security risks, unlike the App ID.
After installing the plugin, you'll find it in your list of installed plugins and can click it to access its settings:
To see the plugin's actions and data sources, as well as their properties, please see the core reference article below:
Reference: YouTube
The Client ID is a public identifier, and does not need to be replaced if it's exposed.
The secret key should be kept securely private, as exposure can lead to security risks. We strongly recommend revoking the exposed key and creating a new one immediately. Remember to deploy the changes in your app to Live after replacing the secret key.