Invalid request URI - Youtube API retrieve single user playlist -
i working on client site. have series of playlist set on there youtube account, load in video player depending on page of site user on.
for example - homepage loads homepage playlist youtube account culture loads culutre playlist , on...
i had set of playlists, , client said needed set rest of playlists in youtube account before add rest. got around creating playlists, , told me add them respective pages.
some of them work, , dont. on ones not 'invalid request uri' error. ones do, load , work expected. both playlists set on same day, both being called in exact same way. why getting error? can json response each playlist, know playlist url correct.
site: http://www.scrapple.tv
i'm sending request url: http://gdata.youtube.com/feeds/api/playlists/playlistid?start-index=1&max-results=50&v=2&format=5&alt=jsonc playlistid id of playlist retreiving. ones client has created today , work on pages 'we people' , 'culture > nitelife'.
problem pages: culture - fashion
culture - people
culture - music
example of 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 1 giving me error of 'invalid request uri'
whereas other, created on same day, implemented exact same way, working.
note: request, must provide authorization token, enables youtube verify user authorized access resource.
https://gdata.youtube.com/feeds/api/playlists/8bcdd04de8f771b2?v=2
Comments
Post a Comment