Ever since Google changed YouTube to API3.0 I can't fetch videos anymore. I can't get video id and api key to apiURL
$video_id = // I stript it from url
$apiKey = Configure::read('YouTube.v3.0.privateKey'); // hidden in bootstrap
$apiURL = 'https://www.googleapis.com/youtube/v3/videos?id=$video_id&key=$apiKey';
and on debug($apiURL);
I'm getting
https://www.googleapis.com/youtube/v3/videos?id=$video_id&key=$apiKey
anyone can help? Thanks in Advance.