Hello All,
I have been trying to get the distance of a connection and am slowly adding information to my URL using oAuth and objective c for iOS.
I cannot seem to get the distance of a person to be returned. I realise it will always be 1 for this query but this query is going to change.
If I use:
http://api.linkedin.com/v1/people/~/connections
it works but doesn't return the distance.
If I use:
http://api.linkedin.com/v1/people/~/connections:(lastName,firstName,pictureUrl,heading,distance) or with a hash at the beginning.
It doesn't return anything at all.
Does anyone know what I am doing wrong?
On a side note, does anyone know of an updated list of field names? I notice the ones online are out of date: i.e. first-name is actually firstName. Took me ages to realise this was my problem.
Thanks very much.
Chris.
- Log in to post comments
replace distance with relation-to-viewer:(distance)