Pinterest Api limit the number of pins returned

2019-05-11 10:00发布

问题:

using this request to get the pins of a user for Pinterest Api(from pinterest api documentation)

http://widgets.pinterest.com/v3/pidgets/users/{username}/pins/

but by default returns a array of 50 pins is there a way to limit to lower number of pins returned?

回答1:

Go here, click Generate, and get an access token: https://developers.pinterest.com/tools/access_token/

Get the statuses using note&limit=int: https://api.pinterest.com/v1/me/pins/?access_token=TOKEN&fields=id,creator,note&limit=2

See docs for extra parameters: https://developers.pinterest.com/docs/api/overview/



标签: api pinterest