LinkedIn からいくつかの重要な API の変更を示す電子メールを受け取った今日まで、すべてがうまく機能していました。その後、ユーザーの認証中に例外が発生しました。リンクトイン。
以下はログからの例外です
OAuth::Problem (Scope NOT_AUTHORIZED : r_fullprofile):
oauth (0.4.7) lib/oauth/consumer.rb:178:in `request'
oauth (0.4.7) lib/oauth/consumer.rb:194:in `token_request'
oauth (0.4.7) lib/oauth/consumer.rb:136:in `get_request_token'
リクエスト トークンを取得するための OAuth ロジック。
consumer = OAuth::Consumer.new(LINKED_IN_API_KEY, LINKED_IN_SECRET_KEY,
{
:site => "https://api.linkedin.com",
:scheme => :header,
:http_method => :post,
:request_token_path => "/uas/oauth/requestToken?scope=r_fullprofile",
:access_token_path => "/uas/oauth/accessToken",
:authorizeEmapath => "/uas/oauth/authorize"
})
### Exception occurs at this call.
request_token = consumer.get_request_token(:oauth_callback => callback_url)
LinkedIn からのメール
今までの私の分析
スコープを変更すると正常に動作しますが、認証されたリンクインユーザーの情報をr_basicprofile
取得できません。skills
API の変更に対応するために必要な追加の変更は何ですか?