[ create a new paste ] login | about

Link: http://codepad.org/xEpiX470    [ raw code | fork ]

PHP, pasted on Mar 12:
1
2
3
4
5
$video_uri = $json['entry']['author'][0]['uri']['$t'];
$video_uri = $video_uri. "?alt=json&v=2";
$json_output = file_get_contents($video_uri);
$json = json_decode($json_output, true);
$channel_url=$json['entry']['link'][0]['href'];


Create a new paste based on this one


Comments: