首页 > 解决方案 > Linkedin API v2 权限映射问题?

问题描述

问题映射权限 <-> 端点?

随着 LinkedinAPI v2 的到来,有很多关于用户应该如何迁移或使用 V2 的问题和担忧。

一段时间后,Linkedin 更新了 V2 的文档,但仍然缺少一些重要信息。

那么我们如何知道权限中的端点是什么?

标签: linkedinlinkedin-api

解决方案


首先,到本文发表时,该权限nw_nus已被弃用,取而代之的是 4 个新权限:

  1. r_member_social
  2. w_member_social
  3. w_organization_social
  4. r_organization_social

对于每个端点,它都是不言自明的。但是,如果您需要详细信息 - 将“Linkedin FINDER owner /shares”之类的内容复制到您的搜索引擎中,它会将您带到 Linkedin 文档。

请在下面找到按权限分组的端点。如有任何问题,请不要犹豫创建支持票 :) https://linkedin.zendesk.com/hc/en-us

r_member_social:检索您的帖子、评论、喜欢和其他参与数据:

FINDER owners /shares
BATCH_GET /shares
GET /shares/{shareId}
BATCH_GET /socialActions
GET /socialActions/{target}
BATCH_GET /socialActions/{target}/comments
GET_ALL /socialActions/{target}/comments
GET /socialActions/{target}/comments/{commentId}
BATCH_GET /socialActions/{target}/likes
GET_ALL /socialActions/{target}/likes
BATCH_GET /activities
BATCH_GET /ugcPosts
FINDER authors /ugcPosts
FINDER permalinkSuffixes /ugcPosts
GET /ugcPosts/{id}
GET /assets/{assetId}
FINDER playableStreams /assets/{assetId}/mediaArtifactPublicUrls

w_member_social:代表您发布、评论和喜欢帖子:

CREATE /shares
DELETE /shares/{shareId}
PARTIAL_UPDATE /shares/{shareId}
CREATE /socialActions/{target}/comments
DELETE /socialActions/{target}/comments/{commentId}
CREATE /socialActions/{target}/likes
DELETE /socialActions/{target}/likes/{liker}
CREATE /ugcPosts
DELETE /ugcPosts/{id}
ACTION registerUpload /assets
ACTION completeMultipartUpload /assets
GET /assets/{assetId}
FINDER playableStreams /assets/{assetId}/mediaArtifactPublicUrls

r_organization_social:检索您组织的帖子,包括任何评论、喜欢和其他参与数据:

FINDER owners /shares
FINDER owners /shares
BATCH_GET /shares
GET /shares/{shareId}
BATCH_GET /socialActions
GET /socialActions/{target}
BATCH_GET /socialActions/{target}/comments
GET_ALL /socialActions/{target}/comments
GET /socialActions/{target}/comments/{commentId}
BATCH_GET /socialActions/{target}/likes
GET_ALL /socialActions/{target}/likes
BATCH_GET /activities
BATCH_GET /ugcPosts
FINDER permalinkSuffixes /ugcPosts
GET /ugcPosts/{id}
GET /assets/{assetId}
FINDER playableStreams /assets/{assetId}/mediaArtifactPublicUrls
BATCH_GET /sharesV2

w_organization_social:代表您的组织发布、评论和点赞帖子:

CREATE /shares
DELETE /shares/{shareId}
PARTIAL_UPDATE /shares/{shareId}
CREATE /socialActions/{target}/comments
DELETE /socialActions/{target}/comments/{commentId}
CREATE /socialActions/{target}/likes
DELETE /socialActions/{target}/likes/{liker}
CREATE /ugcPosts
DELETE /ugcPosts/{id}
ACTION registerUpload /assets
ACTION completeMultipartUpload /assets
GET /assets/{assetId}
FINDER playableStreams /assets/{assetId}/mediaArtifactPublicUrls

推荐阅读