开发者

YouTube API Insight CSV

开发者 https://www.devze.com 2023-03-16 12:11 出处:网络
I want to retrieve and then download the YouTube Insight CSVs for my videos. Following the instructions in this question: PHP Youtube API - Getting Insight Data,

I want to retrieve and then download the YouTube Insight CSVs for my videos. Following the instructions in this question: PHP Youtube API - Getting Insight Data, I wrote the following code:

$httpClient = Zend_Gdata_AuthSub::getHttpClient($sessionToken);
$yt=new Zend_Gdata_YouTube($httpClient,$clientName,$applicationName,$developerKey);
$yt->setMajorProtocolVersion(2);开发者_StackOverflow中文版
$url='http://gdata.youtube.com/feeds/api/users/my_user_name/uploads';

$feed=$yt->getVideoFeed($url);

But when I iterate through the links i get in the feed (using ->getLink('')), I see no link for the CSV (That is, a link with 'rel=http://gdata.youtube.com/schemas/2007#insight.views' I'm authenticated and I'm the owner of the videos. What am I doing wrong?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号