我開始閱讀和最近測試LinkedIn的API,我使用時field selectors
LinkedIn API場選擇器
我的目標是使用API來獲取有關人員的信息,比如它的第一姓,名有問題,例如當前公司和標題。
默認情況下,people-search api只返回id,first-name and last-name
。
我讀過,我可以用一些field-selectors細化的結果,但我的問題是,how do i use the field selectors with the parameters i want them to match aswell.
我已經試過:
http://api.linkedin.com/v1/people-search?first-name=marcello&last-name=lins:(id,first-name,last-name,current-company,title)
但它不工作,我拋出一個例外說它是一個Bad request
。
我必須提出兩個要求嗎?
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)
預先感謝您的關注,如果它不適合任何XDA模式,請隨時編輯我的主題。