现在,我使用的是库Java库:如何通过api发布LinkedIn上的状态更新?
<dependency>
<groupId>com.googlecode.linkedin-j</groupId>
<artifactId>linkedin-j-core</artifactId>
<version>1.0.429</version>
</dependency>
但这不工作了。我的图书馆使用过时的API:
/v1/people/~/current-status
,每当运行它抛出异常如下:
Exception in thread "main" com.google.code.linkedinapi.client.LinkedInApiClientException: Unsupported PUT target {/v1/people/~/current-status}
所以我查找了在LinkedIn的文档新的更新,但无法找到相应的文件对于发布用户当前配置文件状态...
https://developer.linkedin.com/documents/profile-api
已停止工作电流代码类似于如下ü sing LinkedInJ:
LinkedInApiClientFactory factory = LinkedInApiClientFactory.newInstance(getApiKey(), getSecretApiKey());
LinkedInAccessToken accessToken = new LinkedInAccessToken(promotion.getAccessToken(), promotion.getSecretAccessToken());
LinkedInApiClient client = factory.createLinkedInApiClient(accessToken);
client.updateCurrentStatus("my status message");
如何通过api发布LinkedIn上的状态更新?
这个问题似乎是无关紧要的,因为这是一个客户支持请求,而不是一个关于编程问题的问题。请参阅[此meta post](http://meta.stackoverflow.com/questions/255745/why-were-not-customer-suppo rt-for-favorite-company)以获取更多信息。 – Ffisegydd
其实,我已经收回了我的简历,所以上面的评论是无效的(IMO)。 – Ffisegydd