linkedin / linkedin/linkedin.github.com

LinkedIn Public API Access

オープン
#12 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

issue 内の認証 URL とアクセストークン URL を確認し、要求された /v2/people/(id:{}) 呼び出しを報告されている 403 応答と比較します。完了とするには、権限エラーに対する文書化された再現可能な解決策が必要ですが、issue では変更対象のリポジトリファイルやテストが特定されていません。

索引モデルが issue の本文から書いたものです。

評価

領域
api, authentication
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。