Programmierung

PHP, SQL, BASH, JS, HTML, CSS

Instagram / PHP – Get Image Description

How to get the Instagram Image Description with PHP: With this code you can define your own URL of an Instagram Post and print out the full Image Description. $URL = $_POST[‚url‘]; $ch=curl_init($URL); curl_setopt_array($ch,array( CURLOPT_ENCODING=>“, CURLOPT_RETURNTRANSFER=>1 )); $html=curl_exec($ch); $description=@DOMDocument::loadHTML($html)->getElementsByTagName(„title“)->item(0); echo

Instagram / PHP – Get Image Description Weiterlesen »

Nach oben scrollen