Ek Olarak:
require "postToPinterest.php";
global $nxs_gCookiesArr;
$nxs_gCookiesArr = getSavedPinterestLogin(); // Use your function to retrieve saved data to array
$email = 'YourEmail@gmail.com';
$pass = 'YourPassword';
$msg = 'Post this to Pinterest!';
$imgURL = 'http://www.YourWebsiteURL.com/link/to/your/image.jpg';
$link = 'http://www.YourWebsiteURL.com/page';
$boardID = '104935301886129712427';
$loginError = true;
if (is_array($nxs_gCookiesArr)) $loginError = doCheckPinterest();
if ($loginError!==false) {
$loginError = doConnectToPinterest($email, $pass);
savePinterestLogin($nxs_gCookiesArr); // Use your function to save login data
}
if (!$loginError)
{
doPostToPinterest($msg, $imgURL, $link, $boardID);
} else echo $loginError;
?>
kod bu
Ek Olarak: bana böle bir uyarı geliyor ve linke tıkladığımda bu geliyor
Pinterest API Library not found
Pinterest doesn't have a built-in API for automated posts yet.
You need to get a special API Library Module to be able to publish your content to Pinterest.