How to add like on instagram media using php -


i'm building small app instagram , need post on media

$uurl='https://api.instagram.com/v1/media/'.$media_id.'/likes';             $inst_stream2 = callinstagram($uurl);             $results2 = json_decode($inst_stream2, true);      function callinstagram($url)        {     $ch = curl_init();    curl_setopt_array($ch, array(       curlopt_url => $url,       curlopt_returntransfer => true,       curlopt_ssl_verifypeer => false,       curlopt_ssl_verifyhost => 2       ));       $result = curl_exec($ch);       curl_close($ch);      return $result;     } 

but doesn't post !!


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -

jdbc - Not able to establish database connection in eclipse -