문제

I've tried https://api.linkedin.com/v1/people/~/connections:(id,first-name,last-name,phone-numbers) but it's only get (id,first-name,last-name)

even this: http://api.linkedin.com/v1/people/id=UserId:(phone-numbers)

Does LinkedIn expose this field ? I've google it, but not found somewhere ..

도움이 되었습니까?

해결책

Linkedin Not provide phone numbers of connections. They only provide basic profile of connections. check here https://developer.linkedin.com/documents/connections-api

다른 팁

LinkedIn will provide the phone number if the user authorizes r_contactinfo

Sample Request URL:

https://api.linkedin.com/v1/people/~:(id,phone-numbers)?format=json

Sample JSON Response:

{
  "id": "ye3i9-_24l",
  "phoneNumbers":  {
    "_total": 1,
    "values":  [
       {
        "phoneNumber": "89xx189198",
        "phoneType": "mobile"
      }
    ]
  }
}

LinkedIn not provide phone number. Check this document for accessible fields of profile Basic Profile Fields

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top