简体   繁体   English

使用LinkedIn REST Profile API下载LinkedIn用户简历

[英]Downloading a LinkedIn Users CV using the LinkedIn REST Profile API

I am wondering if it is possible to make a call to the LinkedIn API using PHP that will allow me to GET the users uploaded CV. 我想知道是否可以使用PHP调用LinkedIn API,这将允许我获取用户上传的CV。

Currently I'm working on some basic API calls that have enabled me to gather information relating to the users contact details, personal details, experience and all of the other fields in their profile. 目前我正在开展一些基本的API调用,这些调用使我能够收集有关用户联系方式,个人详细信息,经验以及其个人资料中所有其他字段的信息。 I just cannot seem to find anything within the Developers Docs that talk about retrieving the likes of a CV if it has been uploaded to their account. 我似乎无法在开发人员文档中找到任何关于如果已将其上传到他们的帐户而检索简历的内容。

https://developer.linkedin.com/documents/profile-fields https://developer.linkedin.com/documents/profile-fields

I'm wondering if any one has any experience doing something similar? 我想知道是否有人有类似的经历吗? Or if it is even feasible! 或者如果它甚至可行! Of course one possible solution would be to utilize the information I can retrieve from LinkedIn to construct a CV but Ideally I'd prefer to retrieve the document. 当然,一种可能的解决方案是利用我可以从LinkedIn检索的信息来构建简历,但理想情况下我更愿意检索文档。

My hopes is to create an "Apply Now" button that would pre-populate the application form with user information from LinkedIn. 我希望创建一个“立即应用”按钮,该按钮将使用LinkedIn的用户信息预填充申请表。 When they click "Apply" It is then emailed to my company HR dept. 当他们点击“申请”时,然后通过电子邮件发送给我公司的HR部门。

An overview of my Basic Attempt at utilizing the API: *having trouble copying my code into the editor here. 我使用API​​的基本尝试概述:*在此处将代码复制到编辑器时遇到问题。 Will attempt to do so later. 稍后会尝试这样做。 For now here is my steps. 现在,这是我的步骤。

  1. Attempt to authenticate my application as follows: 尝试按如下方式验证我的应用程序:

     <a href="https://www.linkedin.com/uas/oauth2/authorization?response_type=code&client_id=<?php echo $api_key ?>&state=<?php echo $state ?>&redirect_uri=<?php echo $redirect_uri ?>">Apply Now</a> 
  2. Redirect User to Redirect URL and request an Access Token which I then use to make my API Calls. 将用户重定向到重定向URL并请求Access Token ,然后我将其用于进行API调用。

I just cant figure out how I might get their CV in whatever format it was uploaded to their LinkedIn Profile. 我无法弄清楚如何以任何上传到LinkedIn个人资料的格式获得他们的简历。

Users dont upload CV to linkedIn. 用户不要将CV上传到linkedIn。 They fill in their profile. 他们填写他们的个人资料。 What you should be doing, is, after you get the access token, get the user's profile, and fill in your form with relevant fields. 您应该做的是,在获得访问令牌后,获取用户的个人资料,并在相关字段中填写表单。

This can be helpful: https://developer.linkedin.com/documents/profile-fields#fullprofile 这可能会有所帮助: https//developer.linkedin.com/documents/profile-fields#fullprofile

You would need r_fullprofile permission. 您需要r_fullprofile权限。

If you dont need the full profile of the user, see this. 如果您不需要用户的完整个人资料,请参阅此内容。 https://developer.linkedin.com/documents/profile-fields#profile https://developer.linkedin.com/documents/profile-fields#profile

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM