In order to be able to query Vimeo API and import Vimeo videos as posts using WordPress Vimeo video plugin Vimeotheque, you will first need to set up a Vimeo API and get your OAuth credentials.
Create a new Vimeo App
First step is to go to https://developer.vimeo.com/apps/new and create a new app.
To create a new app you will be required to provide:
- A title for your app;
- The description of your app;
- A choice whether you will be the only one using the app or other accounts can use it too. If you plan to import private videos only from your Vimeo account, choose the first option, otherwise, choose the second one;
- Last, you must agree to Vimeo’s License Agreement and Terms of Service;
Copy app credentials into Vimeotheque
Once your app is created you will be taken to the app information screen. From this screen you must copy the Client identifier and Client secret into Vimeotheque’s Settings page, under API & License tab.
First, copy the Client identifier from your newly created Vimeo app.
Next, paste the Client Identifier into Vimeotheque’s Settings, under tab API & License, in field Enter Vimeo Client Identifier.
Going back to the Vimeo app edit screen, copy the Client Secret from the app. This key is found under menu Manage App Secrets in your app screen.
The client secret must be pasted in Vimeotheque Settings, tab API & License in field Enter Vimeo Client Secrets.
Once both keys are filled, save the settings.
Copy your callback URL into the Vimeo App
In order to be able to do the plugin authorization (which allows you to query your private Vimeo videos) you must enter the callback URL from the plugin into your Vimeo App.
The return URL must be pasted into your Vimeo App, under OAuth Redirect Authentication.
Authorize the plugin to query your Vimeo account
To import your private Vimeo videos you must authorize the plugin to query your Vimeo account. This is done by clicking the button Authorize the plugin on Vimeo.
Once authorization is granted you will be able to query and import all your private videos, along with folders and private showcases from your Vimeo account.