SparkleNetworks / LinkedInNET

Sparkle.LinkedInNET will help you query the LinkedIn API with C# :)
https://www.nuget.org/packages/Sparkle.LinkedInNET/
GNU Lesser General Public License v3.0
35 stars 51 forks source link

Only the current position is retrieved when using WithPositions() #12

Closed ialexivy closed 8 years ago

ialexivy commented 8 years ago

I'm using this code to retrieve LinkedIn user positions:

var api = new LinkedInApi(config); var user2 = new UserAuthorization(model.ExternalAccessToken); var profile = api.Profiles.GetMyProfile(user2, new[] { "en-US" }, FieldSelector.For().WithPositions());

However only the current position is retrieved instead of all positions, tried different config according to wiki, but it's seem that it's just not working - i'm missing something?

Also education return nothing and most of the configs , but in browser when using direct request everything works fine (same access token used): https://api.linkedin.com/v1/people/~:(positions)?oauth2_access_token=TOKEN_HERE

sandrock commented 8 years ago

Was this a real issue? Did you fix it?

ialexivy commented 8 years ago

It was LinkedIn limitation, to use full profile not an issue with the library