Closed otterslide closed 6 years ago
@otterslide, I did not see original_link
listed in the API docs, so I have not included it.
I'll add a method to request a generic field as you mentioned.
Yes, looks like it's missing from the docs, put the API explorer shows it: https://developers.pinterest.com/tools/api-explorer/? Will be interested to see how you retrieve it once it's requested.. I thought it would need to be added to the .kt file.
On Thu, May 3, 2018 at 12:07 PM, Chris Dempewolf notifications@github.com wrote:
@otterslide https://github.com/otterslide, I did not see original_link listed in the API docs https://developers.pinterest.com/docs/api/pins/, so I have not included it.
I'll add a method to request a generic field as you mentioned.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dempe/pinterest-java/issues/14#issuecomment-386348714, or mute the thread https://github.com/notifications/unsubscribe-auth/ALHDl3gP7THUaJghXnD10LikkWOJeQ0Qks5tuytWgaJpZM4Twb9z .
@otterslide, I've added a method to retrieve an arbitrary field. Thanks for the suggestion! Just waiting for the artifact to show up in Maven Central, but the new version number should be 4.2.1
.
Thank you! What is the method to retrieve arbitrary field, it seems 4.2.1 still doesn't have Original Link. I can do pins = pinterest.getPinsFromBoard(constantManager.getPinterestBoard(), new PinFields().withAll().with("original_link")); ? But then how do I get it from the Pin object?
How can I retrieve the original_link field on the /v1/pins Ex: https://api.pinterest.com/v1/pins/pin/?access_token=&fields=id%2Clink%2Cnote%2Curl%2Coriginal_link
Is there a way to retrieve a field that hasn't been denfied yet?