是否有可能找到不共享其 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/