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?
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