[英]How to retrieve linkedin api in android other informations such like work experience
我看到您必须使用新建网址“ https://api.linkedin.com/v1/people/~:(positions:(company:(name))) ”,但是如何实现它,我总是在未经授权的情况下进行返回
Here is my code snippet to get Work Experience:
Person p = client.getProfileForCurrentUser(EnumSet.of(
ProfileField.ID, ProfileField.FIRST_NAME,
ProfileField.LAST_NAME, ProfileField.HEADLINE,ProfileField.EDUCATIONS,
ProfileField.INDUSTRY, ProfileField.PICTURE_URL,ProfileField.INTERESTS,
ProfileField.DATE_OF_BIRTH, ProfileField.LOCATION_NAME,ProfileField.EMAIL_ADDRESS,
ProfileField.SKILLS,ProfileField.POSITIONS,
ProfileField.MAIN_ADDRESS, ProfileField.LOCATION_COUNTRY));
Positions positions =p.getPositions();
for (Position position : positions.getPositionList()) {
linkedinInfo=linkedinInfo+" :\n"+position.getCompany().getName();
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.