使用Linkedin API搜索人 [英] Search people with Linkedin API

查看:124
本文介绍了使用Linkedin API搜索人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到在我的应用程序中使用LinkedIn REST API时,我有一个奇怪的行为

I noticed that using LinkedIn REST API in my application, i have a strange behaviour

(我以比尔·盖茨为例,但是每个名字都这样)

(I'm using Bill Gates as example, but it works like this for every name)

第一个REST网址请求:

1st REST url request:

http://api.linkedin.com/v1/people-search:(people:(id))?first-name=bill&last-name=gates

返回110个结果

第二个REST网址请求:

2nd REST url request:

http://api.linkedin.com/v1/people-search:(people:(id))?keywords=bill%20gates

返回0个结果

但是,根据API文档(https://developer.linkedin.com/documents/people-search-api),第二次搜索应该返回至少返回的110个票据门"根据前一个请求,再加上其他人的个人资料中带有"Bill Gates"字符串(行业或学校名称等为"bill Gates"等)

But, according to API documentation (https://developer.linkedin.com/documents/people-search-api), the second search should return at least the 110 "bill gates" returned with the former request, plus eventually other people with some "Bill Gates" string inside their profile ("bill gates" in industry or school name, etc.)

我的第二个请求有问题吗?

Am i doing something wrong with my second request or what?

更新: 这是第二个请求的屏幕截图,使用

UPDATE: Here is a screenshot of the 2nd request, done by using the LinkedIn REST Console. I would like to know if anyone but me is getting 110 results by replicating that request ...

推荐答案

我发现0结果与我的网络有关:我与一个名叫比尔·盖茨的人没有任何第一或第二学位的联系.

I have found out the 0 results is related to my network: I don't have any first or second degree connection with someone named Bill Gates.

关键字搜索在您的网络内部起作用,搜索第一级和第二级联系,而名字/姓氏搜索在其外部起作用,因此我的搜索结果不为0.

The keyword search works inside your network, searching for first and second degree connections, meanwhile the first-name/last-name search works outside it, so my results are not 0 with the latter.

这篇关于使用Linkedin API搜索人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆