I started reading and testing the LinkedIn API recently and am having problems using field selectors
My goal is to use the API to get information about people, for example, his first name, last name, current company and name.
By default, the people-search api returns only id,first-name and last-name .
I read that I can use field-selectors to clarify the result, but my question is: how do i use the field selectors with the parameters i want them to match aswell.
I tried:
http://api.linkedin.com/v1/people-search?first-name=marcello&last-name=lins:(id,first-name,last-name,current-company,title)
But this will not work, and this excludes the saying that this is a Bad request .
Do I need to make two requests?
1: https://api.linkedin.com/v1/people-search?first-name=marcello&lastname=lins 2: https://api.linkedin.com/v1/people-search?:(first-name,last-name,current-company,title)
Thank you in advance for your attention and feel free to edit my stream if it is not suitable for the XDA-Pattern.
source share