dpp3047 2017-07-22 14:13
浏览 348
已采纳

如何使用linkedin Rest API从个人资料网址获取公开个人资料详细信息

I am trying to fetch whole information of user's by using linkedin public profile url But I am getting firstname, lastname and id in response.

How to get whole details.

I have tried on linkedin console

https://api.linkedin.com/v1/people/url=https%3a%2f%2fwww.linkedin.com%2fin%2fashishmishraoft?format=json

Response
{
  "firstName": "Ashish",
  "headline": "Sr PHP Developer at Myapp Generation.",
  "id": "STaDeFHBBN",
  "lastName": "Mishra"
}
  • 写回答

2条回答 默认 最新

  • doubangzhang6992 2017-08-02 22:19
    关注

    LinkedIn does not return all possible member profile fields that are available to you by default. There is a limited selection of additional member fields that are also available to you which may be relevant to your application. Refer to the Basic Profile Fields page for a complete list of the basic member profile fields.

    The following example demonstrates how to customize your API call to request specific member profile fields that you wish to be returned during the Sign In with LinkedIn workflow:

    GET https://api.linkedin.com/v1/people/~:(id,num-connections,picture-url)?format=json

    sample api response:

    {
        "id": "1R2RtA",
        "numConnections": 42,
        "pictureUrl": "https://media.licdn.com/mpr/mprx/…"
    } 
    

    https://developer.linkedin.com/docs/signin-with-linkedin

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 安装svn网络有问题怎么办
  • ¥15 Python爬取指定微博话题下的内容,保存为txt
  • ¥15 vue2登录调用后端接口如何实现
  • ¥65 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥15 latex怎么处理论文引理引用参考文献