2

I want to pull image of linkedin profiles. I have profile urls in an array. Is it possible to extract user id from linkedin profile urls and use following api to get image of profile without authenticating user.

http://api.linkedin.com/v1/people/{user-id}/picture-url
mysterious
  • 1,450
  • 5
  • 29
  • 56
  • It's illegal :) it's called scraping, and you must first pass through oAuth – Marko Mackic Jul 28 '16 at 20:46
  • 1
    Possible duplicate of [Getting LinkedIn Profile Picture](http://stackoverflow.com/questions/6955647/getting-linkedin-profile-picture) – Marko Mackic Jul 28 '16 at 20:48
  • @MarkoMackic i dont want to scrap. I can pass through oAuth but is there a way that I get access token for my account and then i dont have to ask user to give permission to their photos. – mysterious Jul 29 '16 at 13:53
  • you'd probably want to see linkedin api (not sure they have it) – Marko Mackic Jul 29 '16 at 17:30
  • @MarkoMackic i could not find in API but a friend said he does it somehow. Thats why asking here. – mysterious Jul 29 '16 at 17:57
  • https://developer.linkedin.com/docs/oauth2 – Marko Mackic Jul 29 '16 at 18:02
  • @MarkoMackic i saw that link already. According to that link user will have to give permission. i have a database of linked in profile urls and i want my friends to search on a page and then show profile images of those urls. I can do same thing with facebook urls. – mysterious Aug 01 '16 at 17:20
  • @MarkoMackic, not sure calling it "illegal" is technically accurate. Google, after all, scrapes millions of webpages, as does the Wayback Machine. Be careful using words which are so clearly defined when talking about situations you may not have completely researched. – Luke Stevenson Dec 28 '17 at 07:09
  • Ok :) I agree :) – Marko Mackic Dec 29 '17 at 10:16

0 Answers0