Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

API changed on Pinner Search! #498

Open
kaankilic opened this issue Feb 11, 2020 · 10 comments
Open

API changed on Pinner Search! #498

kaankilic opened this issue Feb 11, 2020 · 10 comments

Comments

@kaankilic
Copy link

Hey guys,

Today, I noticed that Pinterest has some changes on their API. When I am trying to search pinner on pinterest I was get the error below:
[ [ "messages" => [ "Sorry! Our search is a little overwhelmed right now. Please try again later. You can <a href='/categories'>explore Pinterest by category</a>.", ], "theme" => "default", ], false, [], false, ]
When I follow the footprints of pinterest endpoints, I discovered that they changed the searchScope parameter for the searching pinners as users instead of people. I sent PR waiting an approve from @seregazhuk

@BurakBoz
Copy link

+1 This issue must be fixed!

Array
(
[messages] => Array
(
[0] => To search Pinterest, please sign up or log in.
)

[theme] => default

)

@kaankilic
Copy link
Author

kaankilic commented Feb 23, 2020

I've created a pull request about it. Waiting for approval. But, you have different error than I faced. Your issue may something different. Do you use limit and offset functions? If yes, Could you provide them?

@BurakBoz
Copy link

I've tried your changes unfortunately it didn't worked for me.
my usage:

foreach ($bot->pins->search($kelimerows['kelime'])->take(1)->skip($kelimerows['skip_id'])->get() as $pin)

@kaankilic
Copy link
Author

could you please check $kelimerows['skip_id'] value

@BurakBoz
Copy link

it's interval like 5

@kaankilic
Copy link
Author

Have you ever tried with different ip? Nowadays, pinterest has some minor changes on their API

@BurakBoz
Copy link

No but my code works sometimes I've made 30 requests 1 succeeded but I never know when it works or how.

@kaankilic
Copy link
Author

If you sure, you have a valid query parameter on search and pages exists. It might possibly a issue about ip. Possibbly, Pinterest could show you an alert for it.

@BurakBoz
Copy link

I'll check it with proxy

@BurakBoz
Copy link

Yes, my issue is ip thank you. Proxy fixed my problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants