getIGStats({ type: 'post', post_url: 'https://www.instagram.com/reel/CI_f4cpANkK/?igshid=9e58tsvupmdm' }).then( res => { console.log(res); console.log(res.likes); console.log(res.pic_url); console.log(res.comments); document.getElementById("comments").innerHTML = res.comments; document.getElementById("likes").innerHTML = res.likes; document.getElementById("img").innerHTML = ''; });