Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

How can I make the query hashtags either-or in youtube data v3 api

$
0
0

I'm using youtube data v3 api videos: List to get some videos with certain hashtags and I want to be able to put multiple hashtags in the query parameter in a way that some videos are from one hashtag and some from the other given hashtag(s)(e.g. when given "#cooking #coding" and maxresults 5 I wanna get 2 or 3 videos with #cooking and 2 or 3 videos with #coding) but what it is doing right now is that it's only giving me videos that have both of those hashtags. I tried putting | between them and then all the videos it gave me were from only one of the hashtags and not the other. What should I do?


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>