Abhijith12 / linkedin-j

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

Profile Field Selectors containing '/' dont work. #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using the library try to fetch profile of the user specifying field
selectors that contain '/' like ProfileField.LOCATION_COUNTRY_CODE.
The library throws an exception.

com.google.code.linkedinapi.client.LinkedInApiClientException:
[invalid.property.name]. Couldn't find property with name: :(location
    at
com.google.code.linkedinapi.client.impl.BaseLinkedInApiClient.createLinkedInApiC
lientException(BaseLinkedInApiClient.java:885)
    at
com.google.code.linkedinapi.client.impl.BaseLinkedInApiClient.callApiMethod(Base
LinkedInApiClient.java:770)
    at
com.google.code.linkedinapi.client.impl.BaseLinkedInApiClient.callApiMethod(Base
LinkedInApiClient.java:732)

A question about the correct syntax of specifying the field selectors with
'/' has been posted on LinkedIn API forums.

Original issue reported on code.google.com by nabeelmukhtar on 11 Dec 2009 at 12:59

GoogleCodeExporter commented 8 years ago
Currently commented out nested field selectors.Waiting for the support in 
LinkedIn API.

Original comment by nabeelmukhtar on 16 Dec 2009 at 8:22