$json = json_decode($response);
foreach($json->results as $item) {
    echo $item->link . "\n";
}