Linkedin“/ people”API返回错误的位置信息

问题描述:

我正在使用linkedin api检索用户的位置(城市,州,国家)信息,但它没有返回正确的城市信息。Linkedin“/ people”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=

你的API请求要求LinkedIn的国家代码,正如你在你的问题建议的成员的位置,而不是市,省,国家的“名字”。

LinkedIn有它的不对齐100%,城市的边界,并经常表达一般的全球商业领域(如“旧金山湾区”)

有关更多信息,位置值的自己的列表,请参阅:https://developer.linkedin.com/docs/fields/location