我已经为这件事挣扎了好几个小时了,我仍然无法解决这个问题。我正在使用eden和laravel 4。
我试图使用以下代码简单地提交上传令牌的请求:
include('eden.php');
//Requests::register_autoloader();
$t = 'token_here';
$key = 'api_key_here';
$upload = eden('google')->youtube($t, $key)->upload();
$title = 'Awesome video test';
$description = 'as mentioned this is a test';
$category = 'People';
$keyword = 'testing';
return $upload->getUploadToken($title, $description, $category, $keyword, 'youtube_username');但是,我一直收到以下错误:
未定义变量:___file ErrorException…/public/eden.php 54
不过,我提出的任何其他API请求都是完美的.如果你能帮我解决这个问题(很可能是因为我的愚蠢),我将永远是伟大的。
提前感谢!
发布于 2013-07-20 10:55:20
嘿,你能试试我的包裹吗?
https://stackoverflow.com/questions/17493192
复制相似问题