Vimeo 专业认证 php
Vimeo pro authentication php
我正在尝试使用 php 中的 VIMEOPRO API
验证 VIMEOPRO
。我在我的 index.php
中添加 vimeo.php
文件并创建一个 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
和最后有区别b/wclient id
和client secret key
提前致谢
phpVimeo
是旧的、已弃用的库(如自述文件中所述:https://github.com/vimeo/vimeo-php-lib#readme)
使用新的 php 库:https://github.com/vimeo/vimeo.php 与您的 client_id
和 client_secret
。
有关生成身份验证的更多信息,请查看文档:https://github.com/vimeo/vimeo.php#generate-your-access-token
我正在尝试使用 php 中的 VIMEOPRO API
验证 VIMEOPRO
。我在我的 index.php
中添加 vimeo.php
文件并创建一个 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
和最后有区别b/wclient id
和client secret key
提前致谢
phpVimeo
是旧的、已弃用的库(如自述文件中所述:https://github.com/vimeo/vimeo-php-lib#readme)
使用新的 php 库:https://github.com/vimeo/vimeo.php 与您的 client_id
和 client_secret
。
有关生成身份验证的更多信息,请查看文档:https://github.com/vimeo/vimeo.php#generate-your-access-token