-3

I went through the Pinterest's developer center and also found a thread from 2016 which mentions that getting another Pinterest user's info (pins, follower count, etc.) is not part of the API. Is that correct? Can someone please confirm.

I also found mentions of V3 Pinterest API, but can't find official documentation for it. How can I get access to the V3 API?

Dan
  • 9,391
  • 5
  • 41
  • 73
gsharma
  • 178
  • 7
  • did you try to even google this? google: pinterest api, it's the first result. – Kyle B May 07 '18 at 00:16
  • @KyleB - Thanks for trying to help with the question. Google's first result for Pinterest API shows their developer center. As I mentioned, I've already gone through it and didn't find the answer. Their dev center shows the users endpoint /v1/me/* all of these gives info on the authenticated user, but not any other user. I'm looking for something like /v1//* I've already tried substituting 'me' for usernames, but none of them work. Do you get a different result on Google search? – gsharma May 07 '18 at 05:11

1 Answers1

0

I don't see anything about v3 of the API on their documentation.

But as with most APIs like Pinterest's API, you can only get the user information for the currently authenticated user, not just random users. When they log in using OAuth, they will get a prompt for permission like this image:

This application would like your permission.  Access your profile info, Access your followers, etc.

So, if your user allows your app to have those permissions you should be able to access the user object which includes a counts property. According to the docs, the counts property includes: "The user’s stats, including how many Pins, follows, boards they have".

Kyle B
  • 2,328
  • 1
  • 23
  • 39