seregazhuk / php-pinterest-bot

This PHP library will help you to work with your Pinterest account without using any API account credentials.
MIT License
413 stars 129 forks source link

Cannot login #393

Closed debasislnsel closed 6 years ago

debasislnsel commented 6 years ago

Hello tried without proxy and with proxy. but still login is not happening. always return NULL

$bot->getHttpClient()->useProxy('198.245.69.75', '4444','xxxxxxxx:xxxxxxx');

//var_dump($bot->getLastError());

$result = $bot->auth->login("xxxxxxxxxxxxxxx", "xxxxxxxxxxxxxxxx");

ERROR:

Fatal error: Uncaught seregazhuk\PinterestBot\Exceptions\AuthRequired: Error calling seregazhuk\PinterestBot\Api\Providers\User::isBanned method. You must log in before. in /home/happyhosting/public_html/curesciaticapain.com/vendor/seregazhuk/pinterest-bot/src/Api/Providers/Core/ProviderWrapper.php:66 Stack trace: #0 /home/happyhosting/public_html/curesciaticapain.com/vendor/seregazhuk/pinterest-bot/src/Api/Providers/Core/ProviderWrapper.php(42): seregazhuk\PinterestBot\Api\Providers\Core\ProviderWrapper->checkMethodForLoginRequired('isBanned') #1 /home/happyhosting/public_html/curesciaticapain.com/php-pinterest-bot-master/examples/auto_pins.php(35): seregazhuk\PinterestBot\Api\Providers\Core\ProviderWrapper->__call('isBanned', Array) #2 {main} thrown in /home/happyhosting/public_html/curesciaticapain.com/vendor/seregazhuk/pinterest-bot/src/Api/Providers/Core/ProviderWrapper.php on line 66

seregazhuk commented 6 years ago

Can you login without proxy?

seregazhuk commented 6 years ago

Closed due to no feedback