【问题标题】:Linkedin "/people" API returning wrong location informationLinkedin "/people" API 返回错误的位置信息
【发布时间】:2015-05-16 01:25:52
【问题描述】:

我正在使用linkedin api检索用户的位置(城市、州、国家)信息,但它没有返回正确的城市信息。

它似乎正在根据提供的邮政编码自行检索城市名称。

Linkedin API 使用: https://api.linkedin.com/v1/people/~:(certifications:(name,authority,number,start-date,end-date),email-address,first-name,last-name,headline,location:(name,country:(code)),positions,skills,educations,main-address,phone-numbers)?format=json&oauth2_access_token=

【问题讨论】:

    标签: javascript node.js linkedin linkedin-jsapi


    【解决方案1】:

    您的 API 请求是向 LinkedIn 询问国家代码和成员位置的“名称”,而不是您在问题中建议的城市、州、国家/地区。

    LinkedIn 有自己的位置值列表,这些值不与城市边界 100% 对齐,并且通常表示一般的全球商业区域(例如“旧金山湾区”)

    有关更多信息,请参阅:https://developer.linkedin.com/docs/fields/location

    【讨论】:

      猜你喜欢
      • 2019-06-19
      • 1970-01-01
      • 1970-01-01
      • 2023-03-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-10-29
      • 2015-06-12
      相关资源
      最近更新 更多