php-pinterest-bot
php-pinterest-bot copied to clipboard
how can be scheduled images to go live at a later date on pinterest using api in php?
you can try this one
$dates = array
(
array("pin"=>"2020-12-10", "image"=>"mypin.jpg"),
array("pin"=>"2020-12-15", "image"=>"mypin.jpg"),
array("pin"=>"20120-12-15", "image"=>"mypin.jpg"),
array("pin"=>"20120-12-20", "image"=>"mypin.jpg")
);
foreach($dates as $date){
if(in_array($date["date"])){
$bot->pins->create($date["image"], $boardid, $description);
}