linkedin - Linkedin API v2 权限映射问题?
问题描述
问题映射权限 <-> 端点?
随着 LinkedinAPI v2 的到来,有很多关于用户应该如何迁移或使用 V2 的问题和担忧。
一段时间后,Linkedin 更新了 V2 的文档,但仍然缺少一些重要信息。
那么我们如何知道权限中的端点是什么?
解决方案
首先,到本文发表时,该权限nw_nus
已被弃用,取而代之的是 4 个新权限:
- r_member_social
- w_member_social
- w_organization_social
- 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
推荐阅读
- sql - 在 SQL Server 2017 中修改多个 JSON 数组元素
- python - 在 Python 中使用来自 2 个不同列表的参数同时并行运行 2 个函数
- parsing - 如何删除批处理文件中的整行并将其重新转换为输出文件?
- r - 带填充的 R 条形图
- python-3.x - 如何删除 mathplotlib x 轴中的额外日期?
- matlab - 我的二分计算有什么问题?
- haskell - 尽管函数上下文中有条目,但 Ghc 无法推断 mtl 实例的使用
- macos - 使用通过 AppStore 分发的 macOS 应用程序提供示例 AppleScript 的最佳方式是什么
- javascript - 如何在 Google AppScript 上获取格式化数组?
- haskell - Haskell 帮助:用新变量替换 lambda 项中的项!(简单的错误需要修复......)