require_once 'google/src/Google/Client.php'; require_once 'google/src/Google/Service/YouTube.php'; $data = array('refresh_token' => '' ,'client_id' => ' ,'client_secret' => '' ,'grant_type' => 'refresh_token'); $data = http_build_query($data); $ch=curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://accounts.google.com/o/oauth2/token'); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); $result=curl_exec($ch); $rstJson = jso...
원문 링크 : [YOUTUBE DATA API] 유튜브 제목변경