-
Notifications
You must be signed in to change notification settings - Fork 128
Login Failed, #88
Comments
Hi, I've checked now, everything seems to be working with the latest version, can you show your code? |
$bot = PinterestBot::create(); |
I've used it with laravel. |
Very strange. I've just checked it in Laravel. |
yes, I did try that, but it doesn't make pin. Let me retry again and update, I've missed something. |
So I dig deeper in login method, here is the response I get at line 109 in Pinners.php Might help you array:5 [▼ |
Yes, logged in successfully, let's debug. Next on line 115 place |
Line 115: Request {#172 ▼ |
53 returns false, which cause exception of auth |
I see, i think it is because of rights. When logged in request is made, it saves cookies on disk to parse and to get token from it. In |
Script saves cookies in it's root path in |
are you talking about following function? Its doesn't seems to called, i can't debug it here. and I am using Windows I don't think any issue with permission?
|
No,
I think the problem is here. No token has been parsed. |
well this code intersect with in line no. 158. |
|
Yes, here. I think |
yes it does. |
try to change directory permissions |
can you tell me when your code store file I might debug it out! |
hmm that's strange I've provided right too all users still unable to do login. |
however thanks for help, since its seems issue on my side, I must have miss something. I will close this bug and debug whole thing in morning. |
Ok, good luck to you! May be try manually create this file empty in laravels public folder. |
@capripio one more solution. I think it will solve problems with permissions. In file Api/Request.php in constructor change cookieJar for curl:
|
ok let me try it now! |
it's worked! I guess I need to learn about 2 new functions 👍 |
Oh, that's great!) |
Thanks! finally I can sleep now :D you know what I mean! Good Night and Thanks again! |
Good night) I've published a new release of library with this fix. Update tomorrow, and there will be no need to change library source. |
I've tried to use pins create method and I got following error:
AuthException in ProviderLoginCheckWrapper.php line 54: You must log in before.
Yes I have used login function before calling this method and I get return true (as I assume its successfully logged in).
Currently I am using XAMPP
The text was updated successfully, but these errors were encountered: