linkedin / linkedin/linkedin.github.com

LinkedIn Public API Access

未关闭
#12 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
JavaScript
星标
67
派生
50
PR 合并指标
30 天内没有已合并 PR

描述

I need help in accessing API to get other member profile. Here is the process I have done.

From LinkedIn API
https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=YOUR_CLIENT_ID&scope=r_liteprofile&state=123456&redirect_uri=http://localhost:3001

I have genereated auth-token which comes as parameter in code='...***...' then passed in into this API
https://www.linkedin.com/oauth/v2/accessToken?grant_type=authorization_code&client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET&code=YOUR_AUTHORIZATION_CODE&redirect_uri=YOUR_REDIRECT_URI

It gave me access token. Now to access other members details from LinkedIn profile I have used API
https://api.linkedin.com/v2/people/(id:{})
with Authorization : Bearer Access_Token but in response I got this

{
"serviceErrorCode": 100,
"message": "Not enough permissions to access: GET /people/(id:%7Bvirti-shah-6a578b165%7D)",
"status": 403
}

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

检查 issue 中的授权和访问令牌 URL,然后将请求的 /v2/people/(id:{}) 调用与报告的 403 响应进行比较。要视为完成,需要对权限失败给出有文档记录且可复现的解决方案,但 issue 没有指出要更改的 repository 文件或测试。

由索引模型根据 Issue 内容生成。

评估

领域
api, authentication
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。