php-pinterest-bot
php-pinterest-bot copied to clipboard
Problem to create a new pin
Hi, I try to use this code to do a simple post a pin:
`require 'pinterest-bot/vendor/autoload.php';
use seregazhuk\PinterestBot\Factories\PinterestBot;
$bot = PinterestBot::create(); $bot->auth->login('my_email', 'my_pass');
if ($bot->user->isBanned()) { echo "Account has been banned!\n"; die(); }
// get board id $boards = $bot->boards->forUser('my_username'); $boardId = $boards[0]['id'];
print_r($boards);
echo "
";
print_r($boardId);
$pinInfo = $bot->pins->create(
'https://media.mydomain.com/test.jpg',
$boardId,
'This is a test desc',
'http://www.mydomain.com',
'Test Pin'
);
echo "
";
print_r($pinInfo);`
I get the boardId back, but to post a pin don't work. What I do false? Or does the API don't work anymore?
any news about it?
having same issue.
the tools is still work , the problem from your account because , your domain is blocked by pinterest itself , your account got limited , or you don't confirm email before
It looks like pinterest have some limits for one domain. Try with other domain.
How much pins you make a day for one domain name?
How much pins you make a day for one domain name?
Actually I'm using proxies.