This commit is contained in:
2026-04-29 01:16:50 -04:00
parent a8022d22a7
commit 0dabcea0aa

View File

@@ -297,6 +297,8 @@ class pinterest{
throw new Exception("Failed to decode JSON"); throw new Exception("Failed to decode JSON");
} }
print_r($json);
$out = [ $out = [
"status" => "ok", "status" => "ok",
"npt" => null, "npt" => null,
@@ -426,7 +428,7 @@ class pinterest{
] ]
], ],
"url" => "url" =>
$item["link"] === null ? !isset($item["link"]) ?
"https://ca.pinterest.com/pin/" . $item["id"] : "https://ca.pinterest.com/pin/" . $item["id"] :
$item["link"] $item["link"]
]; ];