After successfully installing and activating YT2Posts, you should see two new pages in your admin area: Youtube and YT2Posts, as shown in the image below.
After clicking on the YT2Posts page, you will see only 3 fields that should be filled-in:
- Youtube API Key: think of it as a key that your website needs in order to be able to communicate with Youtube. It is free to obtain and below we will show how it can be done.
- Youtube Channels and Playlists: the links to the YouTube channels and playlists that you want to import the videos from.
- Max. number of latest videos to fetch: an integer number between 1 and 1000 that shows how many latest videos you want to fetch from each YouTube source (channel or playlist).
Obtaining a free YouTube API key
YouTube API Key is a key that your website needs to communicate with YouTube. It is free to get, so you just need to follow these steps to obtain it, if you don’t already have one.
First, log into https://console.cloud.google.com/apis/dashboard with your gmail account and click on Create Project in the top-right corner.
Then, choose any project name (e.g. YT2Posts) and click Create.
Click on the Enable API and Services.
In the search tab, type “youtube data api v3” and click Enter.
Click on Youtube Data API v3 from the search results.
Now that the api has been enabled, a new page will open. Click on Create Credentials.
Choosing Youtube Channels and Playlists
With YT2Posts you can add multiple YouTube channels and multiple YouTube playlists to import the videos from. YT2Posts works with any channel or a playlist, even if you do not own them.
When adding a YouTube channel or a playlist, it’s enough to enter its link into the YT2Posts page. The link to a youtube channel, can be found by visiting the channel and copying the url from the top, as shown below. For example, the link to the channel below is: https://www.youtube.com/@flyingtourist3069/
It’s similar with YouTube playlists. You can click on any video from a playlist and simply copy the link, as shown below. In our case, the link was:
https://www.youtube.com/watch?v=RUaHLRZj-KM&list=PL5yuLMTSRNEwKYqJv4dqDeyRo45bLOCfQ
Choosing the Number of Videos
You can choose how many latest videos you want to fetch from each youtube channel or a playlist of your choice. This can be any integer number between 1 and 1000. In the example below, we set it to 10.