I'm developing a Rails app, which contains importing of profile information from LinkedIn to a Rails DB. It works fine a lot of the time, but over the last 2 weeks it suddenly stopped working...
- Default Application Permissions on LinkedIn is only
r_fullprofile
- I use
linkedin
gem as a wrapper - Fields to import -
positions
,educations
,summary
,languages
,picture-url
Error, which I see in PROD logs:
LinkedIn connect failed: Scope NOT_AUTHORIZED : r_fullprofile
.rvm/gems/ruby-2.1.2/gems/oauth-0.4.7/lib/oauth/consumer.rb:178:in `request'
.rvm/gems/ruby-2.1.2/gems/oauth-0.4.7/lib/oauth/consumer.rb:194:in `token_request'
.rvm/gems/ruby-2.1.2/gems/oauth-0.4.7/lib/oauth/consumer.rb:136:in `get_request_token'
.rvm/gems/ruby-2.1.2/gems/linkedin-0.4.3/lib/linked_in/helpers/authorization.rb:22:in `request_token'
As I see in debug, for some reason request token and secret
are nil
,
so I decide that the API to authorize client with my linkedin-app does not work.
ALso, I found an answer on stackoverflow that some API rules were changed some time ago:
After May 12th, 2015, apps will no longer be able to request this member permission without being specifically reviewed by LinkedIn for compliance with the Apply with LinkedIn use case (https://developer.linkedin.com/docs/apply-with-linkedin) or some other partnership program membership which grants access to that permissions.
But, does some analog of r_fullprofile
permisson exists now, which give an access to get all profile information from linkedin?