I'm trying to find a way to receive specific information from LinkedIn to display it on a website.
Exactly, I'd like to be able to get the text and the url of the embed content. Also, get the number of likes and comments that the post has received.
Has anybody done something similar before that could give me some advice?
I've been reading about the LinkedIn API but I only see info about integrating LinkedIn on your web for sharing content on LinkedIn. And what I want is the other way, getting the content from LinkedIn.
Any info would be helpful.
Thanks.
Related
Would highly appreciate help on this! For my business linked in page I am looking to create an automation where my facebook multiple image posts automatically get sent to linkedin and creates image posts for me. We need one piece of information so all of the photos from the post get transfered over to linkedin.
We need help on how to use your REST API endpoint. The goal is to be able to upload multiple images to the page from facebook. Can can someone help with this please?
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!
I'm looking into an issue where a clients LinkedIn feeds on their website have stopped showing. Debugging the problem I've found that I get a 403 error shown below:
Member xxxxxx does not have permission to get company xxxxx
As the LinkedIn authentication process can be quite difficult to comprehend, I had a look online to see if others have had the same problem, and managed to find this. It suggests there have been recent changes to the LinkedIn API and users are now required to be the administrator of the company. What exactly does this mean?
From the very beginning we have simply been accessed the feeds by generating a url like this:
https://api.linkedin.com/v1/companies/xxxx/updates?oauth2_access_token=ACCESS_TOKEN
This has worked in the past. Do we need to regenerate the Secret and API keys?
Update
Looking at the announced changes here:
https://developer.linkedin.com/support/developer-program-transition
It suggests that the following endpoint will still work (which is exactly what I have):
/v1/companies/{id}
So I'm not sure what I'm missing.
is the access token generated by a account witch is Admin of that company page?
If not hen you will get 403.
The requester needs to be admin of that comapny page in order to get company updates.
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