有没有办法列出作为 LinkedIn 上经过身份验证的用户的联系人的用户组?
LinkedIn API 文档让我很困惑。它表示可以通过提供 person-id
来列出用户的组(不是登录的用户,而是用户的任何联系人)。
该网址以此为例:
To Get the Group of the Logged In User:
http://api.linkedin.com/v1/people/~/group-memberships:(group:(id,name,counts-by-category))?membership-state=member
我已经尝试过以下方法,
http://api.linkedin.com/v1/people/person-id=abcde/group-memberships:(group:(id,name,counts-by-category))?membership-state=member
http://api.linkedin.com/v1/people/abcde/group-memberships:(group:(id,name,counts-by-category))?membership-state=member
http://api.linkedin.com/v1/people/~/group-memberships:(group:(id,name,counts-by-category))?membership-state=member&person-id=abcde
但没有一个有效。我应该把 person-id 放在哪里?这让我发疯。
The LinkedIn API documentation has confused me. It says that it is possible to list the groups of a user (not the logged in user, but any contact of the user) by providing the person-id
.
The url shows this as an example:
To Get the Group of the Logged In User:
http://api.linkedin.com/v1/people/~/group-memberships:(group:(id,name,counts-by-category))?membership-state=member
I've tried the following
http://api.linkedin.com/v1/people/person-id=abcde/group-memberships:(group:(id,name,counts-by-category))?membership-state=member
http://api.linkedin.com/v1/people/abcde/group-memberships:(group:(id,name,counts-by-category))?membership-state=member
http://api.linkedin.com/v1/people/~/group-memberships:(group:(id,name,counts-by-category))?membership-state=member&person-id=abcde
None of them work. Where should I put the person-id? It's driving me bananas.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
事实证明,LinkedIn Groups API 不支持除登录用户之外的任何其他人检索群组< /a>.
Turns out that the LinkedIn Groups API doesn't support retrieval of groups for anybody else except the logged in user.