我不是Wordpress的新手,而是PHP的新手。我设法使插件正常工作(缩略图等),但似乎无法将默认Feed从默认的youtube channel 更改为我的最爱。我发现了一个帖子,其中开发人员说要编辑/core/parse.php的第268行的url提要
看起来像这样:
'url' => 'http://gdata.youtube.com/feeds/api/users/'.$v.'/uploads?orderby=published&max-results='.$z.'&start-index='.$i,
我搜索了Google高N低,发现了这一点:
https://gdata.youtube.com/feeds/api/users/default/favorites
并尝试了它的不同变体。已导入0个视频。
http://wordpress.org/extend/plugins/automatic-youtube-video-posts/
最佳答案
根据此URL:https://developers.google.com/youtube/2.0/developers_guide_protocol_favorites
正确的代码是
'url' => 'http://gdata.youtube.com/feeds/api/users/'.$v.'/favorites?orderby=published&max-results='.$z.'&start-index='.$i,
关于php - Wordpress youtube插件-将供稿从 channel 更改为收藏夹(需要PHP Guru),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10997656/