Her pin'e aynı site linkini verince ekleme yapmıyor, elle ekleniyor ama.

Nasıl her eklediğim resme aynı linki verebilirim acaba?




require('vendor/autoload.php');

use seregazhuk\PinterestBot\Factories\PinterestBot;

$bot = PinterestBot::create();

$bot->auth->login('xxxx@gmail.com', 'xxxxx');


$boards = $bot->boards->forUser('xxxxxx');


$resimler = array("http://zinzinzibidi.com/Areas/excel_dersleri/Content/img/resim-ekleme-01.jpg", "http://sanatlibiblog.com/wp-content/uploads/2018/11/%C3%BC%C3%A7-boyutlu-%C3%A7izimler_elif-nihan-%C5%9Fahin_ANA_660_330_sanatlibiblog.jpg", "http://sanatlibiblog.com/wp-content/uploads/2019/02/Svetlana-Eremeeva_resimleri_ANA_660_330_sanatlibiblog.jpg");

$linkler = array("[URL]https://www.r10.net/php/2249176-pinterest-bot-sorunu.html[/URL] ", "[URL]https://www.r10.net/php/2249176-pinterest-bot-sorunu.html[/URL] ", "[URL]https://www.r10.net/php/2249176-pinterest-bot-sorunu.html[/URL] ";

$ad = array("ak bakalım", "vaz geçtim akma", "akabilirsin");


for ($b=0;$b<2;$b++) {

$bot->pins->create($resimler[$b], $boards[0]['id'], $ad[$b], $linkler[$b]);

}