Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Here is discussed
stackoverflow.com/questions/18844706/how-to-post-p...
There is even a ruby lib for this case https://github.com/mislav/instagram/.
PHP also has implementations.
According to the API, it will not be possible to post on Instagram, except for those applications that enter into an agreement with Insta. This is described in the API
You can use my "API" I do not mind
if($urlimg){
if($error){}else{
$rand=rand(1,5);
if($rand=='5'){
$data=file_get_contents($urlimg);
$databh=base64_encode($data);
$myCurl = curl_init();
curl_setopt_array($myCurl, array(
CURLOPT_URL => 'http://erstudio.tk/tes2t.php',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => http_build_query(array('password'=>'pass', 'login'=>'login', 'photo'=>$databh, 'text'=>'Фото по запросу:'.$search." \r\n Спросил: https://vk.com/id".$yr.' #vkbots #vk #чатботы #боты #vkbots_ru'))
));
$response = curl_exec($myCurl);
curl_close($myCurl);
}
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question