FAQ Database Discussion Community


How to know if Linkedin user is admin of his company on LinkedIn?

api,linkedin,linkedin-api
I'm building a website using the LinkedIn Oauth api so that my visitors can log in using Linkedin. This works perfectly fine, but I now want to give people that are administrator for a company registered with Linkedin. When people log in I can get different fields of info about...

Error: Scope parameter is not authorized: r_contactinfo

linkedin,linkedin-api
I get the following error by using the LinkedIn API: Error: Scope parameter is not authorized: r_contactinfo throw new Error("Scope parameter is not authorized: " + p); The application was working for month, and actually I don't want to deploy again because of this issue. Is there any way to...

LinkedIn API unable to view _any_ company profile

linkedin,linkedin-api
I'm trying to figure out how to access any company profile on LinkedIn. For example, the REST endpoint API for LinkedIn itself is: https://api.linkedin.com/v1/companies/1337?format=json with the sample response of: { "id": 1337, "name": "LinkedIn" } However, after authenticating with OAuth2 with rw_company_admin enabled, my app returns: { "errorCode": 0, "message":...

Linkedin Rest API suddenly stopped working

ruby,oauth-2.0,linkedin,third-party-api,linkedin-api
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...

Scribe with LinkedIn throw Response body is incorrect

android,scribe,linkedin-api
I use Scribe to connect to LinkedIn. But I get this error, when try to connect: org.scribe.exceptions.OAuthException: Response body is incorrect. Can't extract token and secret from this: 'oauth_problem=Scope%20NOT_AUTHORIZED%20%3A%20r_fullprofile' I use this code for get RequestToken authService = new ServiceBuilder().provider(LinkedInApi.class).apiKey(LINKEDIN_APP_ID).apiSecret(LINKEDIN_APP_SECRET).callback (LINKEDIN_CALLBACK).build(); new RequestTokenTask().execute(); //some code class RequestTokenTask extends AsyncTask<Void, Void,...