php-pinterest-bot icon indicating copy to clipboard operation
php-pinterest-bot copied to clipboard

Problem to create a new pin

Open meinpost opened this issue 4 years ago • 6 comments

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?

meinpost avatar Feb 23 '20 21:02 meinpost

any news about it?

mill3nn1um avatar Mar 06 '20 10:03 mill3nn1um

having same issue.

moazam1 avatar Mar 09 '20 03:03 moazam1

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

fdciabdul avatar May 24 '20 09:05 fdciabdul

It looks like pinterest have some limits for one domain. Try with other domain.

bicdibuss avatar Dec 02 '20 14:12 bicdibuss

How much pins you make a day for one domain name?

bicdibuss avatar Dec 02 '20 19:12 bicdibuss

How much pins you make a day for one domain name?

Actually I'm using proxies.

mill3nn1um avatar Dec 03 '20 08:12 mill3nn1um