Does anyone know how to get the headline for a linkedin user using the v2 API? From what I've read, you need to apply to get permissions for the /me endpoint from Linkedin, but I can't find where, how or what to apply for. We have a linkedin app already setup with permissions and scope for the builtin profile (pic, name, etc.), but we need to get the headline from the /me endpoint.
This is a great tutorial. I would love to see another one which includes the marketing functionality. I was disappointed when you left the unchecked. Is this planned for a future video?
Thank you so much for this video!!I didn't get your video from the first try but by the second time everything clicked :)) Could you please show us also or link us on how to automate this whole process as we have to integrate it to the backend of our web app.
What other data does the Linkedin API allow me to get? Can I get data about comments, likes, shares,etc of differente publicactions so I can measure the performance of it?
Its just awesome !!!! This was extremely useful. It was difficult to find the information I needed, but you explained it perfectly. Please share some tutorial or information for fetching the fullprofile of LinkedIn.
Question on step 3 when it ask for your LinkedIn credential ,does it have to be from ad page admin who will allow an access to the page , I am talking about marketing functionality.
i have to extract multiple organization details from linkedin till now i have created developers account and updated redirect URL after that i cant undersatnad that how to get api endpoint for my purpose please help its urgent i have to complete my project
Hi Matt, Interesting video. Appreciate your patience in teaching that slow keeping in mind people like me. LinkedIn also seem to have an API to extract companies from a particular Industry. But, I just don't understand how to do the same in python or anywhere. Can you point me in the right direction?
you need to have the token of the people you want to call the me API on. So if I wanted to access Peter's profile (instead of my own profile) in an app, the app has to give Peter the ability to login and get the token. Then the app calls the me API with Peter's token and gets Peter's profile info.
@@Api-university I want to verify LinkedIn information such as current company / email address of other profiles. Is it possible for me to do it using API calls without user's token?
You can integrate linkedin and twilio, because both offer APIs. What use case should this integration cover, i.e. what do you want to do more concretely with this integration?
You can pick one yourself, ideally random. But you need to store it in your session and compare it to the value that comes back on the redirect endpoint.
Thankz for this vídeo sr. I have one dobt: "I there any way to access de feed news on my linkedin company profile throught api endpoint?". I aprecciates if you answer me this, cause i had google it and i can,t find it out... Tha nkz
Very helpful video, thank you! I'm figuring that I could ask here: what are the rate limits for making LinkedIn API requests? I've tried sifting through the documentation, but all I could find is the definition of a rate limit.
Instead of getting the login form, I am redirected to my callback url with the following params: www.linkedin.com/uas/oauth/authenticate?oauth_token=77--7d1ccb00-b690-4046-af61-2079bf8e65b1&oauth_callback=http%3A%2F%2Flocalhost%3A8000%2Faccounts%2Flinkedin%2Flogin%2Fcallback%2F I have looked at the url and put localhost/accounts/linkedin/login/callback as the redirect uri and i still get an error. Any ideas?
Hi, do you not offer the worksheet anymore? I entered my email and nothing came through and I also logged in with LinkedIn but got a "internal server error". Would love to use your worksheet if possible - thanks so much
I am using windows 10. So while running the curl command in the command prompt, I am facing an issue. System is throwing an error as "HTTP Error 411. The request must be chunked or have a content length." So could you please help me with this
@@Api-university i am trying to replicate the same steps which you have shown in the video but i am facing problem while running curl command in the command prompt
Below is the error im getting while running the curl command in cmd prompt C:\Users\admin>curl -ik -X POST www.linkedin.com/oauth/v2/accessToken \ HTTP/1.1 411 Length Required Content-Type: text/html; charset=us-ascii Date: Tue, 28 Jul 2020 14:28:11 GMT Connection: close Content-Length: 344 Length Required Length Required HTTP Error 411. The request must be chunked or have a content length. curl: (6) Could not resolve host: \
Awesome video , i am working on a springboot mircoservice project , are you having some sorce code or any clear documentation how to get the Authentication from springboot api, as i already developed with google and facebook, but nowhere found any exact information for Java springboot application for Linkedin Authentication ?
I have a series of videos on how to program social login with the LinkedIn API. You might get what you need there: ruclips.net/p/PL19JOifaOyAcC-WEP9lm-Addggh3ahIY6
Doing the exact same steps, I get an error "curl: (6) Could not resolve host: grant_type=authorization_code\-d", however I haven't verified the api yet. Any solution for the same?
@@Api-university No there are no blanks in my url. The errors are: curl: (6) Could not resolve host: grant_type=authorization_code\-d curl: (6) Could not resolve host: code=************** curl: (6) Could not resolve host: redirect_uri=*********** curl: (6) Could not resolve host: client_id=*************** curl: (6) Could not resolve host: client_secret=*********** Does it need verification?
Managing LinkedIn Ads requires different permissions. To request the permissions go to the Linkedin devportal, select your app, then Products and request access to the "Marketing Developer Platform".
Hi, thank you so much, I get users first name and last name using me api call , but I need email also so I added r_emailaddress in scope parameter but me api did not return email address how I get the email address please guide me thanks
This should be possible. you need to upgrade your app on the linkedin dev portal to include that access right. and you need to add the scope for email addresses to the call to the authorization endpoint. check out all 3 videos of this playlist to get the full answer: ruclips.net/video/WhKkbpMjSks/видео.html&ab_channel=API-University
Is there any advantage of LinkedIn Oauth over google or facebook Oauth? Both FB and google readily give me the users email which I can then uniquely link the user to in my database. They can signin with either email, FB, or Google and get the same history. With Linkedin there is no cross link without the email.
I think you can provide your users the best experience, when you offer a choice of login methods (FB, Google, LinkedIn, Twitter ...). So it is not that any one of them has a particular advantage, but it's the choice for the user that creates the advantage. For Login with Facebook see: ruclips.net/video/MpLCBEdhg3Y/видео.html For Login with Google see: ruclips.net/video/fxRXLbgX53A/видео.html
@@Api-university My app creates engineering data/physical parts. There is history associated with it. It would be beneficial to them to be able to share/access that information in the future. I am looking for a long term (beyond current job email) login. They can be at the next job, pull up the data, change it a bit, get parts, and be a hero!
Great work. Now stick it on Udemy and charge for it. This sort of training is too good to give away for free.... It's your IP and you should be monetising it....
so-so tutorial. i wish you actually had a text version of this though, so i can cut/paste easily. also you have a "state" but never really mention it. you also don't say how to (if it is possible) to have multiple states sent.
The work-sheet I was sent is different from the one in the video. The one sent to my email is Google API & OAuth work-sheet but the one in the video is LinkedIn API & OAuth work-sheet. How do I get the correct work-sheet? Thank you
AAAAAAAAAAAAAAAAAAAAAAAAGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHH 😭 thank u so much, i was stuck on this for like 2weeks. I will never forget how u helped me. I got 0 dev friends so i learn everything on my own and this vid helped a lot LOT
Great Video. Our organization searches Linkedin for specific experience, education, and other qualifications for any possible hire. Currently, they do this manually by searching for the employee on LinkedIn. Will this work for the circumstance I've described?
It is a separate endpoint for email. Using "scope=r_emailaddres" just gives an error. Replace access_token with the one you get from authorization. : api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))&oauth2_access_token=access_token
The caller of the authorization endpoint sets it. So in this example, I just choose a value. In your app, your app generates a random value for state and matches it against the state value received on the redirect endpoint.
@@Api-university Thanks for the clarification . I would request you to create a more elaborate tutorial to do post , people search or list all our connects etc . If you can point me to resource also that would be great
@@pankajjha08 Or maybe you could pay him for a consulting session....Just a thought!!!! Why do you think you are entitled to ask him this without offering to give him anything in return? That's not how life works my friend....
So the sate value is up to the api caller right? OK. I'll give it a try. I'm guessing this is to or us to keep track of the user after redirect. Thanks for the tutorial man!
is there any way we can take the bash out of the process? so it can be integrated in the backend of a web app? as well as, would you be able to make a POST request with LinkedIn OAuth?
while calling the /v2/me endpoint, I'm getting the serviceErrorCode:65600 error. There is no information in the documentation about this error. Any hint ??
This is my first video on this issue and you have answered this completely. Thank you.
Glad it was helpful! Find more training on APIs, OAuth and OpenID Connect here: courses.api-university.com/courses
Sometimes a hero comes along and clarifies everything. Thanks.
Thanks!
I like the vibe of this tutorial
Thanks for creating this great tutorial!
I've one question- Can we get full user profile details through their linkedin profile url?
There are legal restrictions. LinkedIn documentation says it's allowed only in Europian countries with consent of the user.
Does anyone know how to get the headline for a linkedin user using the v2 API? From what I've read, you need to apply to get permissions for the /me endpoint from Linkedin, but I can't find where, how or what to apply for. We have a linkedin app already setup with permissions and scope for the builtin profile (pic, name, etc.), but we need to get the headline from the /me endpoint.
Wonderful work, thanks a lot Matthias, you are very helpful.
This is a great tutorial. I would love to see another one which includes the marketing functionality. I was disappointed when you left the unchecked. Is this planned for a future video?
Great suggestion!
Great video, very easy to understand and well explained the whole time.
Glad you enjoyed it!
Thank you so much for this video!!I didn't get your video from the first try but by the second time everything clicked :)) Could you please show us also or link us on how to automate this whole process as we have to integrate it to the backend of our web app.
Good question! be awesome if we would be able to take the bash out and automate it for web users.
Yes, I describe it in detail in this three-part series: ruclips.net/p/PL19JOifaOyAcC-WEP9lm-Addggh3ahIY6
@@Api-university Thank you so much!! Is there a part 3 section to it?
@@daniyaldehleh8253 coming soon (next Wednesday)
Very dumb friendly tutorial! Good job simplifying the whole process my man. Nice video 👏
Thanks
What other data does the Linkedin API allow me to get? Can I get data about comments, likes, shares,etc of differente publicactions so I can measure the performance of it?
thank you so much, it was really clear tutorial :)
Its just awesome !!!!
This was extremely useful. It was difficult to find the information I needed, but you explained it perfectly.
Please share some tutorial or information for fetching the fullprofile of LinkedIn.
Glad it was helpful!
Life-saver! Thank you, kind sir!
Hi Mattias, how do I extract data from LinkedIn from a general population?
How to get all the aerospace engineers in Texas ? Let's say
Question on step 3 when it ask for your LinkedIn credential ,does it have to be from ad page admin who will allow an access to the page , I am talking about marketing functionality.
i have to extract multiple organization details from linkedin
till now i have created developers account and updated redirect URL
after that i cant undersatnad that how to get api endpoint for my purpose
please help its urgent i have to complete my project
how do we get refresh tokens for tokens that are now expired
Hi I keep getting this error?:The redirect_uri does not match the registered value
Hi Matt,
Interesting video. Appreciate your patience in teaching that slow keeping in mind people like me.
LinkedIn also seem to have an API to extract companies from a particular Industry. But, I just don't understand how to do the same in python or anywhere. Can you point me in the right direction?
check out the linkedin developer portal.
Hyy, how can i delete product "Share on LinkedIn"? because i need only authentication
I was able to test the API on api.linkedin.com/v2/me but how do I test it on other profile. How can I retrieve their basic profile information?
you need to have the token of the people you want to call the me API on. So if I wanted to access Peter's profile (instead of my own profile) in an app, the app has to give Peter the ability to login and get the token. Then the app calls the me API with Peter's token and gets Peter's profile info.
@@Api-university How to do that then?
@@Api-university how to do that ?
@@Api-university I want to verify LinkedIn information such as current company / email address of other profiles. Is it possible for me to do it using API calls without user's token?
I'm getting a "Bummer, something went wrong." message, any idea what went wrong?
Difficult but very detailed and good 👏
Thanks a lot 😊
Hey, your explanation is good in the video. May I which APIs to call for the analytics data of Linkedin page of the company? any guidance here pls.
I don't have a Permi$$ion $ection. How to get it?
Am I right that only developers approved by linkedin can use primary contact API? If yes, how to get approval?
If we are just using curl and don't have an App, then what do we enter for app information they ask for?
May I know the purpose of the marketing developer platform? for making an ad through Linkedin right.??
nice! any way of showing linkedin posts via the api? that requires extra work I think.
Can you integrate LinkedIn and twilio ?
You can integrate linkedin and twilio, because both offer APIs. What use case should this integration cover, i.e. what do you want to do more concretely with this integration?
API-University I want to have a two-way chat in flex. For contact center service. Can I contact you to see if I can hire you to do this ?
Subscribed, quality content, thank you sir
Where do I find state number to fill in the url to obtain token code?
You can pick one yourself, ideally random. But you need to store it in your session and compare it to the value that comes back on the redirect endpoint.
Excellent video, thanks
Do we need to redirect urls on the linkedin page? My domain does not have an http :/
Great Video Thank you!
Thankz for this vídeo sr. I have one dobt: "I there any way to access de feed news on my linkedin company profile throught api endpoint?". I aprecciates if you answer me this, cause i had google it and i can,t find it out... Tha
nkz
where I can get the cheetsheet?
thank you for your tutorial. It is very useful. Can you do another tutorial for oauth2 with telegram API , please
what a perfect video, tks man
Glad you liked it!
Hello, do you have a script to help me to send a bulk messages and invitations ?
How do you get the refresh token?
What is the redirect uri here..can you reply quickly?!
Plz reply to my question
Very helpful video, thank you! I'm figuring that I could ask here: what are the rate limits for making LinkedIn API requests? I've tried sifting through the documentation, but all I could find is the definition of a rate limit.
you could ask the linkedin developer support
Instead of getting the login form, I am redirected to my callback url with the following params: www.linkedin.com/uas/oauth/authenticate?oauth_token=77--7d1ccb00-b690-4046-af61-2079bf8e65b1&oauth_callback=http%3A%2F%2Flocalhost%3A8000%2Faccounts%2Flinkedin%2Flogin%2Fcallback%2F
I have looked at the url and put localhost/accounts/linkedin/login/callback as the redirect uri and i still get an error. Any ideas?
How do you call the OAuth authorization endpoint including all params?
Hi, do you not offer the worksheet anymore? I entered my email and nothing came through and I also logged in with LinkedIn but got a "internal server error". Would love to use your worksheet if possible - thanks so much
internal server error should be fixed - check your "other" folder, sometimes gets classified the wrong way by email provider
How to get permission for MDP API in linkedIn
I want get company page feed
I fill up survey for Marketing Develop Program(MDP) but I declined
thanks for this video, I have a doubt, how can I add permissions(scope)
You need to configure permissions for your app on the linkedin developer portal.
Linkedin API works not all of course only the with a special scope. So I can only use api/v2/me ?
might be able to access more data with special permission of linkedin. you can try ...
I am using windows 10. So while running the curl command in the command prompt, I am facing an issue. System is throwing an error as "HTTP Error 411. The request must be chunked or have a content length." So could you please help me with this
what exactly is your request?
@@Api-university i am trying to replicate the same steps which you have shown in the video but i am facing problem while running curl command in the command prompt
what exactly is your CURL request?
Below is the error im getting while running the curl command in cmd prompt
C:\Users\admin>curl -ik -X POST www.linkedin.com/oauth/v2/accessToken \
HTTP/1.1 411 Length Required
Content-Type: text/html; charset=us-ascii
Date: Tue, 28 Jul 2020 14:28:11 GMT
Connection: close
Content-Length: 344
Length Required
Length Required
HTTP Error 411. The request must be chunked or have a content length.
curl: (6) Could not resolve host: \
Hey Sayali, did you resolve the issue? I'm getting same error. Can you please help me out here.
Awesome video , i am working on a springboot mircoservice project , are you having some sorce code or any clear documentation how to get the Authentication from springboot api, as i already developed with google and facebook, but nowhere found any exact information for Java springboot application for Linkedin Authentication ?
I have a series of videos on how to program social login with the LinkedIn API. You might get what you need there: ruclips.net/p/PL19JOifaOyAcC-WEP9lm-Addggh3ahIY6
Doing the exact same steps, I get an error "curl: (6) Could not resolve host: grant_type=authorization_code\-d", however I haven't verified the api yet. Any solution for the same?
Check your URL. do you have any blanks in it? You should not. Put the URL into quotes.
@@Api-university No there are no blanks in my url.
The errors are:
curl: (6) Could not resolve host: grant_type=authorization_code\-d
curl: (6) Could not resolve host: code=**************
curl: (6) Could not resolve host: redirect_uri=***********
curl: (6) Could not resolve host: client_id=***************
curl: (6) Could not resolve host: client_secret=***********
Does it need verification?
@@Api-university I am having the same problem, and no blanks. Any solution?
Hi I'm looking to manage ads using the linkedin api. how do i use the tokens to do that? I have the permissions already
Managing LinkedIn Ads requires different permissions. To request the permissions go to the Linkedin devportal, select your app, then Products and request access to the "Marketing Developer Platform".
@@Api-university I've finally managed to figure it out. Thanks so much for taking the time to reply I really appreciate it
Thank you very much
You are welcome
you are amazing!
Hi, thank you so much, I get users first name and last name using me api call , but I need email also so I added r_emailaddress in scope parameter but me api did not return email address how I get the email address please guide me thanks
This should be possible. you need to upgrade your app on the linkedin dev portal to include that access right. and you need to add the scope for email addresses to the call to the authorization endpoint. check out all 3 videos of this playlist to get the full answer: ruclips.net/video/WhKkbpMjSks/видео.html&ab_channel=API-University
can i get the any users by h first name or lastname with this api
you might want to check the linkedin developer portal for the requested functionality. It is not in scope of this video.
Is there any advantage of LinkedIn Oauth over google or facebook Oauth? Both FB and google readily give me the users email which I can then uniquely link the user to in my database. They can signin with either email, FB, or Google and get the same history. With Linkedin there is no cross link without the email.
I think you can provide your users the best experience, when you offer a choice of login methods (FB, Google, LinkedIn, Twitter ...). So it is not that any one of them has a particular advantage, but it's the choice for the user that creates the advantage. For Login with Facebook see: ruclips.net/video/MpLCBEdhg3Y/видео.html For Login with Google see: ruclips.net/video/fxRXLbgX53A/видео.html
@@Api-university I did a bit more research. They do provide the email! I am not going to punt!
@@Api-university My app creates engineering data/physical parts. There is history associated with it. It would be beneficial to them to be able to share/access that information in the future. I am looking for a long term (beyond current job email) login. They can be at the next job, pull up the data, change it a bit, get parts, and be a hero!
so LinkedIn don't provide my contact's emails in the API either?
Not in this API - there might be other APIs, which you need to apply for.
how to fetch other user profile details using the LinkedIn developer app ?
For extended permissions iou need to talk to linkedin.
@@Api-university ok thank you
what is state parameter? How can I access it?
you need to set the state parameter in your app before you execute the call to the authorization endpoint
thank you thank you thank you
You are very welcome
Great work. Now stick it on Udemy and charge for it. This sort of training is too good to give away for free.... It's your IP and you should be monetising it....
Glad you enjoy it!
can we use www.google.com for the redirect_url ?
Not All heros wear capes
Ia it free?
your text file download please
Don't know why ALL the official documentations are not simpler like this one?
Idon'tunderstand:do:it:yes:
so-so tutorial. i wish you actually had a text version of this though, so i can cut/paste easily. also you have a "state" but never really mention it. you also don't say how to (if it is possible) to have multiple states sent.
This was extremely useful. It was difficult to find the information I needed, but you explained it perfectly.
Good to know that PewDiePie also does coding tutorials 😂.
JK..Thank you for this amazing tutorial
The work-sheet I was sent is different from the one in the video. The one sent to my email is Google API & OAuth work-sheet but the one in the video is LinkedIn API & OAuth work-sheet. How do I get the correct work-sheet? Thank you
This is an excellent tutoria! Very detailed, and at the same time, straight to the point. Thanks a lot, this will be extremely helpful at my new job.
got error "Not enough permissions to access: GET", can you help me? my scope are profile and email
I am facing the same problem , did u find any solution , please share
When i created my app, I do not see any of those permission under the AUTH tab. Also, I am not getting any edit action next to it.
You need to have a Linkedin account. Check with Linkedin support to get your account set up.
Any luck with your problem
@@Api-university I created linkedin account for company and i dont see these permissions
In the Product Tab Enable the service , all permissions will be added
AAAAAAAAAAAAAAAAAAAAAAAAGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHH 😭
thank u so much, i was stuck on this for like 2weeks. I will never forget how u helped me. I got 0 dev friends so i learn everything on my own and this vid helped a lot LOT
Great Video. Our organization searches Linkedin for specific experience, education, and other qualifications for any possible hire. Currently, they do this manually by searching for the employee on LinkedIn. Will this work for the circumstance I've described?
This video useful. but i want other user information then call the API its give me exception do not have permission .how to resolve it ?
"error_description": "Un
able to retrieve access token: authorization code not found"
any one help
hii can you please check, the scope is updated as of now. It does not have rlite_profile and all
looking for analytics info for example no.of likes, shares of a post from company page
Thank You, Its very easy to uderstand the way you teach us
It is a separate endpoint for email. Using "scope=r_emailaddres" just gives an error. Replace access_token with the one you get from authorization. : api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))&oauth2_access_token=access_token
Thanks. I show how to get the email of a linkedin account here: ruclips.net/p/PL19JOifaOyAcC-WEP9lm-Addggh3ahIY6
Thanks for creating this great tutorial . One question -- what is state in the link and how we are getting its value?
The caller of the authorization endpoint sets it. So in this example, I just choose a value. In your app, your app generates a random value for state and matches it against the state value received on the redirect endpoint.
@@Api-university Thanks for the clarification . I would request you to create a more elaborate tutorial to do post , people search or list all our connects etc . If you can point me to resource also that would be great
@@pankajjha08 Or maybe you could pay him for a consulting session....Just a thought!!!! Why do you think you are entitled to ask him this without offering to give him anything in return? That's not how life works my friend....
Hi Matthias! Great video :) May I know if LinkedIn offers APIs where users can retrieve data without signing in?
I dont think they do
Yout cheatsheet is quite a bit different from the video.
Thanks for this video. Please make video on google calendar api integration Step-by-step tutorial
Noted, thanks that is a good idea. what would you like to do with the calendar data?
This is exactly what I needed, Thanks a lot 😊
So the sate value is up to the api caller right? OK. I'll give it a try.
I'm guessing this is to or us to keep track of the user after redirect.
Thanks for the tutorial man!
i am getting bummer something went wrong
is there any way we can take the bash out of the process? so it can be integrated in the backend of a web app? as well as, would you be able to make a POST request with LinkedIn OAuth?
Yes, it is described in detail in this three-part series: ruclips.net/p/PL19JOifaOyAcC-WEP9lm-Addggh3ahIY6
@@Api-university Bless your soul! I wish I could triple subscribe.
Hello
amazing explanation !!!!
Thanks!
Is the LinkedIn API free
why do i get "Sorry, there was an error processing your request."? when trying to download the worksheet?
and when I try to log in with my Linkedin account, " {"message": "Internal server error"} "
When I make my app, I have no permissions, how do I get permissions?
I am facing the same issue
while calling the /v2/me endpoint, I'm getting the serviceErrorCode:65600 error. There is no information in the documentation about this error. Any hint ??
can I build an API (for whatever else) to send messages from my website to Linkedin individual profiles without having to do that through Linkedin?