Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

how can be scheduled images to go live at a later date on pinterest using api in php? #508

Open
ponnnarasi14 opened this issue Mar 9, 2020 · 1 comment

Comments

@ponnnarasi14
Copy link

No description provided.

@fdciabdul
Copy link

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);

}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants