LPAMNijoel / linkedin-j

Automatically exported from code.google.com/p/linkedin-j
0 stars 0 forks source link

Handle Person email address #126

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
According to http://developer.linkedin.com/comment/19048#comment-19048
Linkedin gives user email address now.

This should be reflected in the library with new ProfileField value and in 
Person.class

Original issue reported on code.google.com by tomasz.b...@pragmatists.pl on 25 Oct 2012 at 7:39

GoogleCodeExporter commented 9 years ago
Hi, please help in this. how to get email address using your lib. i already 
changed property of requestUrl and added scope for email address, now i am 
unable to get idea for how to retrieve that email address. which class or 
method to use or change. Add support for email in ProfileFeild.

Original comment by Santoki....@gmail.com on 19 Jan 2013 at 8:22

GoogleCodeExporter commented 9 years ago
How can I get the email 3 months later.

Original comment by eders...@gmail.com on 21 Jan 2013 at 1:44

GoogleCodeExporter commented 9 years ago
Any action on this? This is a show stopper for us right now. I will look at the 
source and see if there is anything I can do...

Original comment by mi...@afitnerd.com on 15 Feb 2013 at 10:30

GoogleCodeExporter commented 9 years ago
So, I was able to update the code to be able to handle email address. I'm 
attaching it to this post. USE AT YOUR OWN RISK - it is NOT fully tested.

It adds:

EMAIL_ADDRESS to com.google.code.linkedinapi.client.enumeration.ProfileField
getEmailAddress and setEmailAddress methods to 
com.google.code.linkedinapi.schema.Person interface
getEmailAddress and setEmailAddress methods to 
com.google.code.linkedinapi.schema.impl.PersonImpl class
getEmailAddress and setEmailAddress methods to 
com.google.code.linkedinapi.schema.xpp.PersonImpl class

Original comment by mi...@afitnerd.com on 16 Feb 2013 at 4:26

Attachments:

GoogleCodeExporter commented 9 years ago
Hi ,

Did you got the email address from above library please respond me. 

Thanks
Rajesh 

Original comment by itsrajes...@gmail.com on 12 Jun 2013 at 11:25

GoogleCodeExporter commented 9 years ago
still cannot get user's email address?

fail.

Original comment by allan.as...@gmail.com on 20 Sep 2013 at 5:30

GoogleCodeExporter commented 9 years ago
thanks for uploading the fixed jar. I tried it but it is built with an older 
version of linkedin-j that doesn't support adding scope to request token. I 
wonder how one can get email address without adding in the "r_emailaddress" as 
scope?

Can one of you upload the fix with a latest version of the linkedin-j api?

Original comment by Bellevue...@gmail.com on 6 Jan 2014 at 11:54