Invalid request URI - Youtube API retrieve single user playlist
I am working on a client site. They have a series of playlist set up on
there YouTube account, which all load in to the video player depending on
which page of the site the user is on.
For example -
homepage loads homepage playlist from his youtube account
culture loads the culutre playlist
and so on...
I had previously set up most of the playlists, and my client said they
needed to set up the rest of the playlists in their youtube account before
I could add the rest. Well they finally got around to creating the
playlists, and told me to add them to the respective pages.
Some of them work, and some dont. On the ones that do not I get an
'invalid request URI' error. The ones that do, just load and work as
expected. Both playlists were set up on the same day, both are being
called in the exact same way. Why would I be getting this error? I can get
the json response from each playlist, so I know the playlist url is
correct.
Site: <http://www.Scrapple.tv">
I'm sending a get request to this URL:
http://gdata.youtube.com/feeds/api/playlists/PLAYLISTID?start-index=1&max-results=50&v=2&format=5&alt=jsonc
where PLAYLISTID is the id of the playlist that I am retreiving. The ones
that my client has created today and work are on pages 'We The People' and
'Culture > Nitelife'.
Problem Pages: Culture - Fashion
Culture - People
Culture - Music
Example of a working query:
http://gdata.youtube.com/feeds/api/playlists/HUp1agCRK5kDdqh-RwTBaMmk0Fo-_IeL?start-index=1&max-results=50&v=2&format=5&alt=jsonc
Example of non-working query:
http://gdata.youtube.com/feeds/api/playlists/HUp1agCRK5npY3kR8CQ9SLteral-krG2?start-index=1&max-results=50&v=2&format=5&alt=jsonc
Why would one be giving me an error of 'Invalid Request URI'
whereas the other, created on the same day, implemented the exact same
way, is working.
No comments:
Post a Comment