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 求差集那个函数有问题,有无佬可以解决
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题