I am trying to authenticate VIMEOPRO
using VIMEOPRO API
in php. I add vimeo.php
file in my index.php
and create a object of PhpVimeo
class.
Below is my code
<?php
require_once('vimeo.php');
session_start();
$vimeo = new phpVimeo('Customer key', 'Seceret key');
$token = $vimeo->getRequestToken();
echo '<pre>';
print_r($token);
die;
?>
Below is my error
I also trying
VIMEOPRO PHP
plugin but another error occur
and last there is difference b/w client id
and client secret key
Thanks in advance
phpVimeo
is the old, deprecated library (as mentioned in the readme: https://github.com/vimeo/vimeo-php-lib#readme)Use the new php library: https://github.com/vimeo/vimeo.php with your
client_id
andclient_secret
.For more information on generating authentication, check the docs: https://github.com/vimeo/vimeo.php#generate-your-access-token