Mehran Goudarzi
asked on
$_GET call between URL
<?php
if( $_GET["shortcode"]) {
$api = file_get_contents("https://api.instagram.com/oembed/?url=http://instagram.com/p/"$_GET["shortcode"]"/");
$apiObj = json_decode($api,true);
$media_id = $apiObj['media_id'];
echo $_GET["shortcode"];
}
it not work . how can i call $_GET between URL
http://instagram.com/p/"$_GET["shortcode"]"/");
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you're new to PHP and want some good learning resources, this article can help.
https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html
https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html
Open in new window