java - 在 Linked IN API 中查找不分享他/她的 Feed 的用户

标签 java linkedin linkedin-j

是否有可能找到不共享其 Feed 的用户?可用于获取该记录的任何选项。因为当我获取连接的用户更新时出现异常。

最佳答案

好吧,我确定您已经在 api 文档中看到了链接,但我将在此处链接适当的文档:

http://developer.linkedin.com/documents/profile-fields

我不认为你可以完全按照你的意愿去做,但也许你的问题是你假设将发送一个用户可以隐藏的字段。

来自文档:

Not all fields are available for all profiles. The fields available depend on the relationship between the user you are making a request on behalf of and the member, the information that member has chosen to provide, and their privacy settings. You should not assume that anything other than id is returned for a given member. If a member has chosen to opt out of data sharing, requests for data return as private for id and last-name. (This means id is not a unique field.) This affects data retrieved from all APIs, such as a person's connections, recommendations, people search, network updates, or status updates. Code defensively!

例如,文档是这样引用一个人的名字字段的:

This field might return a value of private for users other than the currently logged-in user depending on the member's privacy settings

似乎没有一个 api 设置实际出现并表示用户已关闭共享他们的 feed。

关于java - 在 Linked IN API 中查找不分享他/她的 Feed 的用户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16606584/

相关文章:

android - 没有从 linkedin 获取电子邮件地址?

java - 错误 "could not find article that just added to db: 5576330055082049537"将共享发布到 LinkedIn

linkedin-api - 领英API : Get Phone Number from 1st Connection?

javascript - 如何使用 javascript 登录 linkedin 并显示个人资料信息

java - 如果类有引用类型成员java,如何实现 equal 和 hashCode 方法?

java - 如何使用wifi将数据发送到安装在其他android设备上的同一应用程序

java - 免费 .txt 文件托管

android - 处理 Android 中 LinkedIn 应用程序下载对话框的取消

java - 如何使用 JAR 文件中的外部类作为我的程序中的类之一?