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

regionCode not working consistently properly, YouTube API, Google App Script

$
0
0

Extracting some data from YouTube API using Google Apps Script, in multiple regions using the following code:

var regions = ['SA','EG','DZ','IQ','JO','KW','LB','LY','MA','OM','YE','AE','BH','QA','TN']; //EG, LY, YE, do not work!sr = YouTube.Videos.list("snippet,id", {chart: "mostPopular", regionCode: regions[i], maxResults:50});

Works properly in all mentioned regions array, except EG , LY and YE, while only changing the regionCode variable.

The code is ISO 3166-1 alpha-2, I am sure the country code is correct.Is there anything I might be missing?

EDIT ---I have re-submitted the issue on Issue Tracker, and it has been assigned.

EDIT --"This is known issue. Unfortunately, we don't have ETA for the fix."


Viewing all articles
Browse latest Browse all 3756

Trending Articles



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