javascript - Youtube V3 channel search having results but not showing items -
with order:
https://www.googleapis.com/youtube/v3/search?part=snippet&channelid=[insert channel]&maxresults=50&q=test&order=date&key=[insert key] { "kind": "youtube#searchlistresponse", "etag": "\"i_8xdzu766_fsaexeadxtifewc0/r9nz3g9ccu-wws_b-18jkaocaj0\"", "nextpagetoken": "cdiqaa", "regioncode": "lb", "pageinfo": { "totalresults": 66, "resultsperpage": 50 }, "items": [] <--- nothing }
changing next page using token shows nothing.
why there no items if there results?
note: removing order date result in many results , items showing. because default value relevance , query no longer 'test'. possible not results have items? can there result without associated item?
i'm confused too. i'm seeing same results, if don't specify order or tell "relevance" tons of items in json. if specify other order, less results in totalresults field, , nothing in items list. seems buggy, either way, method of ordering shouldn't affect number of results. , in addition, wondering, doesn't seem make sense number of totalresults wouldn't same number of records in items. sorry don't have better fix, though.
Comments
Post a Comment