Martin Hawksey

Results 31 comments of Martin Hawksey

Hi - `YouTube.playlistItemsList()` will automatically page all the responses and doesn't return a `.nextPageToken` - as a result I think the while loop never completes. You can test by commenting...

@Femikuye correct. The shared functions this library uses for the API calls automatically handles paging https://github.com/Spencer-Easton/Apps-Script-GoogleApis-Libraries/blob/master/Generator-SRC/SharedLibraryFunctions.gs#L61-L73

@Femikuye just added v4 of the library which uses v2 of the YouTube Analytics library. If you open the script editor for your project you should be able to select...

... hopefully this time. Should be updated now

API changes mean you pass in the query as an object e.g. ``` var analyticsResponse = YouTubeAnalytics.reportsQuery({ids:'channel==' + channelId, startDate: oneMonthAgoFormatted, endDate: todayFormatted, metrics: 'views,likes,dislikes,shares', dimensions: 'day', sort: '-day' });...

that's the old way ... you've got a string followed by an object. It needs to be rewritten as ``` var analyticsResponse = YouTubeAnalytics.reportsQuery({ids:'channel==' + channelId, startDate:'2017-05-30', endDate:'2018-11-20', metrics:'views,subscribersGained,estimatedMinutesWatched,annotationClickThroughRate', sort:...

I only generate them from the code @Spencer-Easton has created so up to him :-)

Hi @SarahGHammam - it should page automatically. I don't have a playlist with over 50 videos so hard for me to test

Hmm - perhaps try `favourites_count` (favourites with a 'u')

Having researched manifest files I believe it is correct that script projects will automatically inherit scopes defined in a library if no scopes have been defined in the script project....