1

我正在尝试使用 api 类更改 vimeo 视频的隐私设置

下面是我的代码

$vimeo = new phpVimeo('myconsumer_key', 'myconsumer_secret');


$info = $vimeo->call('vimeo.videos.setPrivacy', array('video_id' =>$videoid,'privacy'=>'nobody','users'=>$username,'password'=>""));

我提供了我生成的消费者密钥和消费者密钥,https://developer.vimeo.com/apps/new 但是当我调用函数时发生错误

Fatal error: Uncaught exception 'VimeoAPIException' with message 'Permission Denied' in D:\phpweb\Rohith\vimeo_video\vimeo.php:239 Stack trace: #0 D:\phpweb\Rohith\vimeo_video\vimeo.php(275): phpVimeo->_request('vimeo.videos.se...', Array, 'GET', 'http://vimeo.co...', true) #1 D:\phpweb\Rohith\vimeo_video\disablevideo.php(18): phpVimeo->call('vimeo.videos.se...', Array) #2 {main} thrown in D:\phpweb\Rohith\vimeo_video\vimeo.php on line 239
4

0 回答 0