Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6896749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:04:59+00:00 2026-05-27T07:04:59+00:00

I’m working with Youtube API and PHP library: http://code.google.com/apis/youtube/2.0/developers_guide_php.html I’m modifying existing app: http://googlecodesamples.com/youtube/php/YouTubeVideoApp/index.php

  • 0

I’m working with Youtube API and PHP library: http://code.google.com/apis/youtube/2.0/developers_guide_php.html

I’m modifying existing app: http://googlecodesamples.com/youtube/php/YouTubeVideoApp/index.php

That is also available in Zend Gdata library: [no link due to “new users can only post a maximum of two hyperlinks”]

My problem is:
“retrieve my videos” retrieves only 25 and links “back” / “next” are not working 🙁

The workflow of Youtube API and ZendFramework is really complicated:

  1. index.php calls a javascript function declared in video_app.js
  2. ytVideoApp.listVideos calls ytVideoApp.presentFeed
  3. ytVideoApp.presentFeed sends ajax request operations.php
  4. operations.php strips parameters and calls proper function within itself, that is searchVideos
  5. searchVideos calls echoVideoList
  6. echoVideoList prints the data foreach ($feed as $entry)
  7. ytVideoApp.listVideos updates navigation (back/next buttons)

Existing value: ytVideoApp.MAX_RESULTS_LIST = 200; I also tried to hardcode it, rather than passing via parameter across php, js, ajax. In each case the I receive only 25 results. I tested in on two separate accounts (I do have 2 accounts with more than 25 uploads).

Is there any limitation that remains unknown to me?

Any hints, clues, whatever?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T07:05:00+00:00Added an answer on May 27, 2026 at 7:05 am

    Here is your solution:
    http://markmail.org/message/n2px7yheizakzt7y#query:+page:1+mid:vcrj4gmyzfxdtpao+state:results
    (click on ‘Peter December 5, 2010 – at the top’)

    As quoted from that link:

    Here is the solution that I’ve come up [with]:

    1. In operations.php find the line: $query->setQuery($searchTerm); and
      comment it out.

    2. A few lines below, right under $query->setMaxResults($maxResults);
      add this: $query->setAuthor('millenniumpromise');

    3. That’s basically it! You can now use the all search type and get
      the results published only by millenniumpromise.

    I also needed to display the results by published date (most recent
    first), so I added $query->setParam('orderby', 'published'); right
    below $query->setAuthor('millenniumpromise'); in operations.php

    And here is more help from the same players as above:
    http://osdir.com/ml/youtube-api-gdata/2010-11/msg00426.html

    I must commend Peter and Neil for I have just spent the past week trying to nut this same problem out myself until I found their solution…

    Regards,
    Adam

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
I'm making a simple page using Google Maps API 3. My first. One marker
I want to count how many characters a certain string has in PHP, but
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
this is what i have right now Drawing an RSS feed into the php,
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.