pinterest / api-quickstart

Code that makes it easy to get started with the Pinterest API.
Apache License 2.0
119 stars 44 forks source link

How to get use_id in api v5? #65

Closed mybluedog24 closed 2 years ago

mybluedog24 commented 2 years ago

We used to bind user_id to our authenticated user's email. But it seems the v5 api for account information only has username, and user can always change username. Is there a way to get a unique id for user? Thanks.

davidchaiken commented 2 years ago

Good question! I'll ask around to see what I can find out. (It might take until sometime next week to get back to you.)

mybluedog24 commented 2 years ago

Thank you so much!

davidchaiken commented 2 years ago

Hi, @mybluedog24.

Here's the scoop from Pinterest's API product and engineering leads... The lack of a unique id for users is an intentional difference between v3 and v5, and is part of the general direction of increasing the privacy of online services. As are many people in the industry, we're actively thinking about this area.

The best way to participate in this process would be to provide information about your use case on this feedback form. This kind of input helps us understand the interaction of privacy and developer productivity, and may help us improve our API.

If you decide to share information on the form, please post a comment on this GitHub issue so that I can ensure that the right folks have a look at your feedback.