![]() |
Help with YouTube / PHP / vBTube coding issue I posted this on vbulletin.org on May 19th, and also posted in the vBTube Lite plugin sections several months ago and I have not gotten any feedback. Can someone please, please, please help me out here.... I have the vBTube hack installed: http://www.vbulletin.org/forum/showthread.php?t=173083 What I want to do is sort the results by most recent (published) as defined in the YouTube API docs (orderby=published): http://code.google.com/apis/youtube/...tml#Difference I have located what I think is the section of code that creates the query: ... Code: function videos_listbytag($tag = NULL,$page = 1, $per_page = 20) { /* http://www.youtube.com/dev_api_ref?m...os.list_by_tag */ $this->request("youtube.videos.list_by_tag", array("tag" => $tag, "page" => $page, "per_page" => $per_page)); $this->parse_response(); $result = $this->parsed_response['ut_response']['video_list']; return $result; } I know this hack originally came from flickr: http://svn.symfony-project.com/plugi...phpYoutube.php Now I tried to just add it on the request line like: Code: $orderby = "published"; $this->request("youtube.videos.list_by_tag", array("tag" => $tag, "page" => $page, "per_page" => $per_page, "orderby" => $orderby)); But when I do that, I get zero results when I run the query. Taking it off, returns the expected results, but by relevance, not published. Can someone please help me with this? |
الساعة الآن 04:09 AM |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By
Almuhajir