开发者

YouTube API Insight CSV

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜