5

Apps like Xobni show the linkedin avatar from a user when they only have the email address to go bye. I can't find a way to use linkedin's API to get the avatar by searching on an email address ( https://developer.linkedin.com/documents/profile-api ). Any ideas?

General Grievance
  • 4,555
  • 31
  • 31
  • 45
Christopher Padfield
  • 1,249
  • 2
  • 12
  • 18
  • Are you sure Xobni doesn't use a service like Gravatar? – Rijk Aug 24 '11 at 10:16
  • Yes, it has photos for people not on gravatar and the photos even have little linkedin icons on the bottom right of them. – Christopher Padfield Aug 24 '11 at 16:33
  • Seems this is not possible; Xobni appears to have a relationship with linkedin/facebook so are probably paying for this ability. http://www.quora.com/How-does-Xobni-associate-Facebook-and-LinkedIn-Data-with-user-email-addresses?q=How+does+xobni+show+linkedin – Christopher Padfield Sep 02 '11 at 14:48

1 Answers1

0

https://developer.linkedin.com/documents/profile-fields see picture-url.

longstaff
  • 2,061
  • 1
  • 12
  • 15
  • Thanks, that's helpful. The problem is to use the profile-fields you need the userid of the linkedin user. I am not sure how I get that from the email address. https://developer.linkedin.com/documents/profile-api does not mention it, nor does https://developer.linkedin.com/documents/people-search-api – Christopher Padfield Aug 24 '11 at 16:32
  • actually about a third of the way down the people-search page it gives you the way to receive a profile image: http://api.linkedin.com/v1/people-search:(people:(id,first-name,last-name,picture-url,headline),num-results) – longstaff Aug 25 '11 at 08:24
  • 2
    Hi shortsick, thanks - but that requires you have the id for the person. I don't have that; I only have their email address. I can't see how I get the details that xobni manages to get (just the public data obviously, from the email address). – Christopher Padfield Sep 02 '11 at 14:43