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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -