trgino adlı üyeden alıntı: mesajı görüntüle
verdiğiniz url ile içerik çekilir fakat çektiğiniz görseli gösteremezsiniz artık hotlink koruması var instagram da
Gösteririz hocam İşte böyle :
<?php
$kullanici_adi = htmlspecialchars($_GET["username"]);

$res = file_get_contents("https://www.instagram.com/".$kullanici_adi."/?__a=1");
$json = json_decode($res);
$image_url = $json->graphql->user->profile_pic_url_hd;
$image = base64_encode(file_get_contents($image_url));
?>

<img src="data:image/png;base64,<?php echo $image; ?>">