I have two LinkedIn profiles, one "real" and another used for testing.
Using the API console (https://apigee.com/console/linkedin) I tested retrieving "educations", but strangely on the real profile I cant't retrieve anything but an id and start/end dates, while on the test profile I can retrieve all details about education.
I have the necessity to use the REST API and not JS or other methods.
Anyway, is there anything I can check to retrieve all education details about my real profile? Am I missing something?
thank you
I'm guessing you authenticated your API account against your "test" profile.
The /v1/people/~:(....) API will return all the complete data for the account the API was used to authenticate. But for "connections", 1st degree and beyond, the API will only retrieve data as if it were a 3rd degree connection.
Using the API as /v1/people/id=... or /v1/people/url=... results in "3rd degree" type access data.
From the profile-api
Requesting by member token only returns a profile from the logged in person's three degree network and doesn't return any out-of-network profiles. You cannot use a member token to get a public profile.
Related
Is it possible to take the current user of an app (and their LinkedIn User ID) and compare them to a database of LinkedIn user IDs and return a list of all LinkedIn user IDs from the database that are second degree connections?
This would allow the user performing the search to see who the best database members for them to reach out to would be.
https://developer.linkedin.com/docs/guide/v2/people/connections-api#sample
here is the API that could allow you to do this. BUT you will need to apply for the linkedin-partnership program to be allowed to use the V2 api of linkedin.
https://developer.linkedin.com/partner-programs
I've been asked to help with a site using Google's mapping APIs (mainly Maps Javascript) and we can see the API key on the site but we have been unable to trace which Google account this is associated with. I can set up a new account and a new key and then change the site code, but with another site I have worked on Google had applied a very hefty transition credit after the recent billing changes, plus having the original account access will allow me to see historic usage stats and work out potential future costs under the new allowances.
I realise it would be a security/privacy breach to just reveal the email, but is there any way anyone knows that you can enter an API key and for example have it send a password reset or similar email to the account email address?
API keys are not associated to google accounts. An API key only identifies the project associated to the call for billing and quota purposes (and of course to allow or deny the resource). You cannot “reset” an API Key but you can create a new one.
I had created app that used to get authenticated by users for their contacts, sending messages to those contacts etc. When linked in changed their API access system in May, suddenly our application stopped working.
In the doc there is nothing clearly written about these kind of permissions now or with what kind of membership program I can get access to these again. There is one section where contacts info can be fetched when we apply for partnership program with Apply with LinkedIn button. But I am not sure its of my use.
Access to r_contactinfo permission:
As per the Linkedin website,
The r_contactinfo member permission will now be associated exclusively
with Apply with LinkedIn. As a result, you will only be able to
request this member permission if your application has been approved
by LinkedIn for this particular use.
What you need to do:
Apply for partner status with LinkedIn (Apply with Linkedin), explaining what your integration is and how it works. If it meets their criteria, then you will get access to the above endpoint.
Check this link for further details.
I inherited a program that was written with the old LinkedIn API, and I'm trying to migrate it to the new API. When I try to get the r_basicprofile permission, my oauth token works. However, when I try r_network or rw_nus, I get a response
invalid scope -- your application has not been authorized for
r_network.
Yet, when I go to www.linkedin.com/developer/apps/xxxx/auth, the boxes for r_network and rw_nus are checked.
I.e., A request to
https://www.linkedin.com/uas/oauth2/authorization?response_type=code&client_id=xxxxxx&scope=r_basicprofile&state=yyyy&redirect_uri=http%3A%2F%2Fkalatublog.com%2Fwp-content%2Fmu-plugins%2Fimb-en%2Fhelpers%2Fsocial-connect%2Fapi%2Ffinalize.php%3Fapi%3Dlinkedin%26ch%zzzzz
works, but a request to
https://www.linkedin.com/uas/oauth2/authorization?response_type=code&client_id=xxxxxx&scope=r_network&state=yyyy&redirect_uri=http%3A%2F%2Fkalatublog.com%2Fwp-content%2Fmu-plugins%2Fimb-en%2Fhelpers%2Fsocial-connect%2Fapi%2Ffinalize.php%3Fapi%3Dlinkedin%26ch%zzzzz
gives that error. What am I doing wrong?
As of May 15,
After the grace period expires, several REST API endpoints will no longer be available for general use. The following endpoints are the only ones that will remain available for use:
Profile API — /v1/people/~ `
Share API — /v1/people/~/shares
Companies API — /v1/companies/{id}
If your application is currently using any other API services (e.g. Connections, Groups, People Search, Invitation, Job Search, etc.) you will have to apply to become a member of a relevant Partner Program that provides the necessary API access to continue to leverage any of the endpoints that are not listed above.
It looks like linkedin no longer wants to share anything with their API. Creating a new app indicates that the only possible options are r_basicprofile, r_emailaddress, rw_company_admin, and w_share:
TLDR: they have locked down the API and restricted the usage to an extremely limited set of access points.
I did some more digging. The linkedin website is misleading. On my app linkedin page, it says that I'm approved for rw_nus and r_network, but on this page
https://developer.linkedin.com/support/developer-program-transition
it says those are no longer approved.
So the app home page in linkedin incorrectly said I had those permissions.
Heres the link if you want to Apply for Linkedin
https://help.linkedin.com/app/ask/path/api-dvr
I want to find out profile's previous employment details. I have tried as per the LinkedIn's API given below.
https://api.linkedin.com/v1/people/id={id}:(id,first-name,last-name,headline,picture-url,public-profile-url,industry,three-current-positions,three-past-positions,positions)?format=json&oauth2_access_token={tokenvalue}"
Here in above request, "id" is 1st degree connection. Then also I am never returns with the desired information after tried many times.
Can any one guide me what should I do?
Regards,
Dharmesh Solanki
LinkedIn says here that it only supports retrieving the r_basicprofile fields from an application.
https://developer.linkedin.com/documents/profile-fields
For members other than the ones using your application, you may only
retrieve the profile fields available with the r_basicprofile member
permission.
Since three-current-positions and three-past-positions is part of the Full Profile (r_fullprofile), I don't think it's currently possible to get those fields for a user using the Profile API.
Unless it's for the current requesting user, ie:
https://api.linkedin.com/v1/people/~:(id,first-name,last-name,headline,picture-url,public-profile-url,industry,three-current-positions,three-past-positions,positions