I try to access the profile's Job title, first name, last name, and company using LinkedIn API and PHP.
I have applied for LinkedIn Marketing Program on https://developer.linkedin.com/partner-programs/apply then I found some posts on StackOverflow saying that it could take several months to get approved :(
Is it possible to achieve what I'm trying to do? (Can I get access to LinkedIn r_liteprofile? is it limited in the number of requests or paid? )
Do I need r_liteprofile to access LinkedIn Jobtitle or I need to request more permission access?
Thank you very much for you help.
Kind regards
Lamine
Your best option is through google or bing, or any web search engines, which can kind of getting the "Headline", but not 100% accuracy.
site:linkedin.com {query}
By default, people put their Job Title as Headline.
Personally, I used Google Custom Search JSON API.
Good luck!
Related
We're looking into integrating with LinkedIn so that we can feed our users with lists of job candidates, and then send our users back to LinkedIn in order to view relevant profiles. I'm not seeing any relevant API docs regarding this. Is this something that is possible to do via your API today or in the near future?
Right now, LinkedIn gives only the scope of r_liteprofile and r_emailaddress to Retrieve authenticated member's name, headline, photo, and member's primary email address.
To get the relevant candidate for the job, you may need to check skills, projects, etc, for that you need the permission of r_fullprofile,
LinkedIn API has restricted such information as per their documentation:
https://learn.microsoft.com/en-us/linkedin/shared/references/v2/profile/full-profile
As per their documentation, to access the information of skills, address, etc, your app needs to request r_fullprofile. But they have closed it now and no alternate is given. The more detail about the current permissions from LinkedIn can be seen here:
https://learn.microsoft.com/en-us/linkedin/shared/authentication/getting-access
Right now there are currently in development mode. They are working on developing their APIs. What and when they will release such information is not available to document right now.
Years ago, someone asked on Stack Overflow if it were possible to retrieve a list of all employees who work at a company. I can do this through the LinkedIn UI, but I cannot seem to find any mechanism for this using the v2 API. The SO response mentions this used to be possible on the v1 API, but you had to request access through LinkedIn's "Vetted API Access Program." Unfortunately, the link on this response is now obsolete and does not send users to any such program.
How could I apply for this program nowadays? This is a specific situation to me and my company, so I would very much like to discuss this with someone at LinkedIn if some form of this Vetted API Access Program still exists. I do not wish to disclose the details of this request to the open internet.
I have confirmed through contacts inside LinkedIn that this API functionality has been removed. No further information has been provided, and LinkedIn tech support refuses to comment any more on this issue. Furthermore, no LinkedIn engineers will comment on this thread here.
This is bizarre since any regular user can do this functionality through the web front-end, but for some reason LinkedIn believes this would be a violation of privacy/security if we could do this programmatically.
Therefore, the only way to obtain this data would be through screen scraping. I wish I had better news, and I wish that LinkedIn would provide some reasoning for their changes, but alas this is where we are.
I just posted a very similar question because I ran into the same problem as you.
The application forms for Linkedin's current partner programs seem to be located here, however I can't tell you which one of those programs comes with the necessary API access rights and I am in general not sure if this API request is still allowed.
Edit: The Linkedin Help page states that applications for partner programs are currently unavailable?
In general, you can get a list of employees of a company if you scrape Linkedin profiles exhaustively, or if you have an exhaustive dataset of Linkedin profiles.
Each Linkedin profile contains a list of experiences that links to the company profile URL.
Thereafter, you will filter the dataset into profiles currently working at X company to get a list of employees currently working in a company. The same technique can also be used to retrieve a list of past employees.
And that is what we did. We scraped all public Linkedin profiles based in the US and made an alternative API known as Proxycurl Employee Listing API to Linkedin API to provide employee listing functionality.
Proxycurl's Employee Listing API will never be as exhaustive as Linkedin's dataset because not all profiles are made public, but most are. But will suffice to meet your needs.
I have just one basic question about the LinkedIn API, I'm new to that and I don't even use LinkedIn.
Imagine that I have this link: https://www.linkedin.com/nhome/updates?topic=5967002483262787584 - how can I restore the company ID, updateKey for the company or something similar to that? Simply I want to get any information and I know how to use the company API but this is a bit problem (that cannot be solved by this API) and I don't know how to solve that...
Thanks a lot for every single help.
Ok - First take a look at this information:
How to get company logo from Linkedin API?
Then take a look at this web page:
https://www.linkedin.com/nhome/updates?topic=5967002483262787584
The other problem is similar to your problem. You will have to scrape the web page to get the information. If you look at the <TITLE>...</TITILE> part on the IBM web page you will see it says "IBM | LinkedIn".
That is how you get the company's name off of the web page's HTML.
The LinkedIn API says:
https://developer.linkedin.com/docs/fields/company-profile
Check out their Profile Information. Note the "name" field? The company's name should be in that field also.
(BTW: I do NOT work for Stack Overflow or LinkedIn. Just in case you were wondering. I'm just a good samaritan helping out. :-) )
Update: I just re-read your request. If you know what the company's name is you should be able to use the API to reload their profile which has their ID number on it. Don't know about an update key. Do you get what I am talking about?
I am trying to get latest 3 public activities of our company from linkedin (ex: http://www.linkedin.com/company/4043/activity) and present it on our website but unfortunately I dont see a clear explanation to do so in the API documentations. I registered an API Key but I am confused if I need to do OAuth if so against what and then what API to call to get publicly available info?
Is OAuth really needed for something that is available?
Can I store an OAuth token for an internal user and keep fetching data on that? I would really do not want to authenticated the site visitors with oauth to get free linkedin content.
This question is on the lines of this one, but I still wanted to ask and see if I could get a better response/answer.
To get the company updates from the LinkedIn API, you will need to reference the following document:
https://developer.linkedin.com/reading-company-updates
The API is currently in preview mode, but the above document addresses your question re: OAuth as well as shows the specific calls as well as sample output. If you have any questions after reviewing the docs, please feel free to visit our developer forums at:
https://developer.linkedin.com/forums/rest
And one of someone from our team would be more than happy to help you further.
Enjoy!
-Jeremy
Hie
I am using linkedin-j apis and trying to search the available public feeds for a set of keywords say oracle and google. That is, i should get all the feeds which mentions either oracle or google in it.
It is possible in facebook and twitter. Is it doable in linkedin-j as well? I could not find apis other then search people, job and companies.
If yes please guide which api to use? site does not seems to have relevant docs.
I found from documentation that linkedIn does not allow all that. It only can pull information specific to the authenticated user.