dqcd84732 2011-10-22 09:39
浏览 32
已采纳

通过Linkedin API获得1st Degree Connections的行业和兴趣

I am building a PHP site where the users login with their Linkedin account and be able to see the interests of each of their 1st degree connection:

$search_response = $linkedin->search("?facet=network,F");

With the code above I was able to pull some of their 1st degree contacts. The data returned only consists of first names, last names, headlines and pictures however. I want to be able to get their industries, specialities and interests as well.

I tried to look for a solution in the documentation but couldn't find anything. I'm a newbie at this so any help would be appreciated!

Thanks!

  • 写回答

1条回答 默认 最新

  • douxing9228 2011-10-23 03:54
    关注

    Not knowing the implementation of the search() method this is a bit of a guess, but basically you would use the field selector syntax to specify the profile fields (and the associated data) you want returned.

    Something along the lines of:

    $search_response = $linkedin->search(":(id,first-name,last-name,headline,specialties,interests,industry,picture-url)?facet=network,F");
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog