【问题标题】:How can I get the url of a profile on linkedin using the linkedin API如何使用linkedin API获取linkedin上个人资料的网址
【发布时间】:2018-08-15 22:41:26
【问题描述】:

到目前为止,我可以获得名字和姓氏、电子邮件、职位等,但我找不到获取链接到配置文件的 url 的命令。我正在尝试通过我的网络应用程序发送linkedin 个人资料网址。这是我获取用户数据的方法

 function grabUserData() {
    let profile = {};
  IN.API.Profile('me').fields([
    'first-name', 'last-name', // Add these to get the name
    'industry', 'date-of-birth', 'educations:(id,school-name)',
    'positions', // Add this one to get the job history
    'picture-url',//gets image
    'email-address'
  ]).result(function(profiles) {
    console.log(profiles.values[0]);//gives me profile info
    profile = profiles.values[0];
    updateWithInfo(profile);//just displays it on my site
  });
}

【问题讨论】:

    标签: javascript json web linkedin linkedin-api


    【解决方案1】:

    有一个字段:vanityName。

    成员的虚名。虚名表示为用于公共配置文件 URL 的字符串:www.linkedin.com/in/{vanityName}。 Basic Profile Fields

    【讨论】:

      猜你喜欢
      • 2018-01-27
      • 1970-01-01
      • 1970-01-01
      • 2020-08-28
      • 2017-12-28
      • 2020-03-01
      • 2019-06-11
      • 1970-01-01
      相关资源
      最近更新 更多