Vimeo Advanced API for Drupal
The Vimeo Advanced API allows the users to access, edit, and upload videos (if approved). With the advanced API, we will be able to create albums, add videos to albums, channels, and groups as well. Let's take a look at what you need to do in order to make the vimeo advanced API work in drupal:
- Install the vimeo API on your drupal site.
- Register your site with vimeo and get the Consumer Keys.
- Authorize your site and get the OAuth Tokens.
- Start using the Advanced API for vimeo.
Installing the vimeo API
- Download the "Advanced API PHP Library" from here
- Extract the contents of the zip file and move them to a folder called "vimeo" on the root of your drupal website.
Registering the drupal site with Vimeo
- Login to your vimeo account, and register your website as a new "app" at https://developer.vimeo.com/apps/new
- Enter the values of required field.
- Use the URL of your website as the 'Application URL'.
- Enter the "Application Callback URL", which is very important as the authentication process will start from here.
- When you are registering an app for the first time, then you may have to wait for a human to authorize the app request.
- Get your 'Consumer Key' and 'Consumer Secret' and save them to proceed forward.
Original Article: