【发布时间】:2020-03-25 14:22:57
【问题描述】:
我正在尝试进行基本的 api 调用。我做了这里提到的所有事情:https://developer.vimeo.com/api/guides/start
require '{path_to_root_folder}/autoload.php';
use Vimeo\Vimeo;
$client = new Vimeo("{client_id}", "{client_secret}", "{access_token}");
$response = $client->request('/tutorial', array(), 'GET');
print_r($response);
但我收到错误 500:
PHP Fatal error: Uncaught Error: Class 'Vimeo\\Vimeo' not found in ../test/vimeo.php:4\nStack trace:\n#0 {main}\n thrown in ../test/vimeo.php on line 4
我的服务器运行 php 7.2
这里有什么问题?非常感谢您的帮助
【问题讨论】: