从LinkedIn检索用户帐户信息
我需要在我的应用程序中从LinkedIn检索用户帐户信息,以便对用户进行一些分析 姓名、用户描述、体验、帖子等信息 是否有提取这些信息的API 如果您使用android mobile sdk,以下代码将为您完成此工作 使用以下URL获取LinkedIn数据 别忘了在两个手机上设置访问上述信息的权限 应用程序以及在LinkedIn中注册应用程序时从LinkedIn检索用户帐户信息,linkedin,Linkedin,我需要在我的应用程序中从LinkedIn检索用户帐户信息,以便对用户进行一些分析 姓名、用户描述、体验、帖子等信息 是否有提取这些信息的API 如果您使用android mobile sdk,以下代码将为您完成此工作 使用以下URL获取LinkedIn数据 别忘了在两个手机上设置访问上述信息的权限 应用程序以及在LinkedIn中注册应用程序时 感谢您的回复,此步骤返回授权用户的信息,我需要根据其他用户的姓名从他们那里提取信息。在LinkedIn中可能吗 private static final
感谢您的回复,此步骤返回授权用户的信息,我需要根据其他用户的姓名从他们那里提取信息。在LinkedIn中可能吗
private static final String HOST = "api.linkedin.com";
private static final String FETCH_BASIC_INFO = "https://" + host + "/v1/people/~:(id,first-name,last-name,headline,location,industry)";
private static final String FETCH_CONTACT = "https://" + host + "/v1/people/~:(num-connections,email-address,phone-numbers,main-address)";
private static final String FETCH_PROFILE_PIC = "https://" + host + "/v1/people/~:(picture-urls::(original))";
private static final String SHARE_URL = "https://" + host + "/v1/people/~/shares";
private static Scope buildScope() {
return Scope.build(Scope.R_BASICPROFILE, Scope.W_SHARE, Scope.R_EMAILADDRESS, Scope.R_CONTACTINFO);
}