dirkgroenen / pinterest-api-php

A PHP wrapper for the official Pinterest API. :pushpin:
https://developers.pinterest.com/docs/getting-started/introduction/
Apache License 2.0
173 stars 76 forks source link

Problems with authentication #86

Closed prappo closed 5 years ago

prappo commented 6 years ago

Tried to get the list of the boards . I used this code

$bot = PinterestBot::create();

// Login

        $bot->auth->login('mylogin', 'mypassword',false);

// Get lists of your boards
        $boards = $bot->boards->forMe();
        print_r($boards);

This code is working on my local server but when I tried it on my live web server it's occurring errors

AuthRequired in ProviderWrapper.php line 66: Error calling seregazhuk\PinterestBot\Api\Providers\Boards::forMe method. You must log in before.

My login details are correct so what is the problem?

dirkgroenen commented 5 years ago

Looks like you're in the wrong repo, this is the dirkgroenen/pinterest-api-php package. Please check https://github.com/seregazhuk/php-pinterest-bot for support.