@barreola wrote:
Why is not a function? I’ve read this but I cannot make it work for my project, the error is shown in the following code
getListVideos(listId) { return this.http.get('https://www.googleapis.com/youtube/v3/playlistItems?key=' + this.apiKey + '&playlistId=' + listId +'&part=snippet,id&maxResults=20') .map((res: Response) => { return res.json()['items']; }) }```
Posts: 1
Participants: 1