How to configure the Youtube api for CRM News
In the CRM News app is possible to get the popular and recent videos from Youtube by category, language and keywords. Is possible even to get the live events.
The app is using the official Google api and the verification of the api usage is required. From our side is important to have a ready to use website and the verification will be done successfully because the app meets the Google requirements.
The configuration is hard. You need to follow exactly these steps:
- Go to https://console.cloud.google.com/welcome
- Where is the Google Cloud logo click on the dropdown.
- Click on the button New Project.
- Enter the project's name.
- Click the Create button.
- Select the created project.
- Where is the Google Cloud logo click on the menu icon.
- Select APIs & Services -> Library.
- Search for the YouTube Data API v3 library.
- Enable it.
- Where is the Google Cloud logo click on the menu icon.
- Select APIs & Services -> Credentials.
- Click Create credentials -> API Key.
- Copy the API Key and paste in the Midrub CMS -> administrator panel -> User menu item(fifth icon) -> Networks menu item -> Youtube.
- Click Create credentials -> OAuth client ID.
- Click the button Configure consent screen.
- User Type -> External.
- Click the Create button.
- Enter the app name.
- Select the email.
- Enter the Privacy Policy and Terms of Service links.
- Click the button Save and continue.
- Select the scopes ./auth/youtube.readonly and ./auth/youtube.
- Click the button Save and continue.
- In the page Test users add test users(google emails of the people which will be able to test the Youtube api without verification).
- Click the button Save and continue.
- Where is the Google Cloud logo click on the menu icon.
- Select APIs & Services -> Credentials.
- Click Create credentials -> OAuth client ID.
- Application type -> Web application.
- Enter the app name and paste it even in Midrub CMS -> administrator panel -> User menu item(fifth icon) -> Networks menu item -> Youtube.
- Authorized JavaScript origins - enter your website url.
- Authorized redirect URIs add Redirect url from Midrub CMS -> administrator panel -> User menu item(fifth icon) -> Networks menu item -> Youtube.
- Save and copy the Client ID and Client secret. Paste them in Midrub CMS -> administrator panel -> User menu item(fifth icon) -> Networks menu item -> Youtube.
- Last step is to enable the Youtube network in the wanted plans.
You could read how to create the Terms of Service and Privacy Policy pages here: https://cms.midrub.com/articles/how-to-create-the-terms-of-service-and-privacy-policy-pages
Suggested Articles
- How to configure the Youtube api for CRM News
- How to configure the Twitter api for the CRM News app
- How to create a Facebook application and configure for the CRM News app
- How to configure the CRM News app
- How to enable the Quick Guide in the CRM News app
- How to install the CRM News app
- How to install the apps manually
- How to enable the Quick Guide in any CRM app
- How to improve the server performance for Midrub
- How to easy install Midrub