Is that possible to search peoples for multiple companies at a time using linkedin jsapi
iam using below url for searching
its giving zero people
"/people-search:" + "(people:(first-name,last-name,relation-to-viewer,picture-url,public-profile-url,positions),facets:(code,buckets:(name,code,count)))" + "?facets=network&facet=network,F,S&count=3¤t-company=true&sort=distance&company-name=ibm,infosys,oracle";
If it's just a few company IDs you need, then use the linkedin Company ID Lookup tool to get the IDs of the companies, then conduct a faceted company search as follows:
"/people-search:" + "(people:(first-name,last-name,relation-to-viewer,picture-url,public-profile-url,positions),facets:(code,buckets:(name,code,count)))" + "?facets=network,current-company&facet=current-company,ID1,ID2,ID3&facet=network,F,S&count=3¤t-company=true&sort=distance&company-name=ibm,infosys,oracle";
Replace ID1
, ID2
and ID3
with the IDs of the companies you looked up with the above tool.
If you have a lot of company IDs to fetch, then conduct a company search via the API to grab the company IDs programmatically, then proceed to people search.