I need use Share API to get read shares or comments, the documents says I need r_member_social permission, how can I get the permission?
You have to apply for partner program for using r_member_social :
https://business.linkedin.com/marketing-solutions/marketing-partners/become-a-partner/marketing-developer-program
Related
We are a platform that facilitates companies to hire analytics talent on demand. We only allow users to login to our platform with their Linkedin IDs so that we can validate their profile details and score them. Currently, the Linkedin API doesnot give us even the Linkedin-id of the user to help us manually check the profile. How can we correct this?
Ask for the r_liteprofile and r_emailaddress scopes as part of the OAuth flow. Then make GET calls to https://api.linkedin.com/v2/me and https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))
to gather this information. See the documentation for more details.
However, please read LinkedIn's API Terms of Use to ensure your application is an acceptable use case. Also, the profile data you can receive is quite limits, so it may not give you the fields you want.
I would like to use LinkedIn's v2 API to monitor as many public-facing profiles as possible, and retrieve content from the posts made by those profiles. Then identify instances where LinkedIn users are linking to particular domains. I can't tell if this is possible through the Partner Program. Signs are pointing to using this https://learn.microsoft.com/en-us/linkedin/shared/integrations/people/profile-api but it isn't super clear to me whether this particular use case is supported.
Yes. As long as they are authenticated member. I think this applied to Partner Program too. You need permission from owners to fetch their contents.
http:
GET https://api.linkedin.com/v2/shares?q=owners&owners={URN}&sharesPerOwner=100
The following authorization rules apply when specifying owners :
For personal shares, you may only retrieve shares for the authorized members.
Source: Find Shares by Owner
Due to recent LinkedIn changes, I need permission for r_basic_profile api. Can someone share where to apply on LinkedIn to get this?
Thanks
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.
Our site is using rw_nus and r_network permissions from Linkedin to work properly. We were fetching feeds from Linkedin and were able to post comments and likes. But now we are getting following error:
error=invalid_scope&error_description=Your+application+has+not+been+authorized+for+the+scope+%22r_fullprofile%22r_network%22rw_nus
We found the following link that says:
Linkedin deprecating rw_nus from API
Is it now even possible to get these permissions once again or its over now? If yes, then how to get approval for them?
Deprecation of rw_nus permission:
The rw_nus member permission will be deprecated as of May 12, 2015 Linkedin API changes. Going forward, if your application shares content on behalf of a LinkedIn member, your application will require the w_share member permission to be granted.
The new w_share permission will grant you the permission to share content on LinkedIn as you could previously, however you will no longer be able to read shared content from a user's LinkedIn feed using the API.
So, if you were using the following link to request an Authorization code
https://www.linkedin.com/uas/oauth2/authorization?scope=rw_nus
Now, you’ll have to ue –
https://www.linkedin.com/uas/oauth2/authorization?scope=w_share
How to fix invalid scope authorization error:
To correct this issue, ensure that the scope parameter in your authorization workflow is no longer requesting any of the following member permissions:
r_fullprofile, r_network, r_contactinfo, rw_nus, rw_groups, w_messages
For access to these permissions, you will have to apply to become a member of a relevant Partner Program that provides the necessary API access to the required endpoints.
So apply for partner status with LinkedIn, explaining what your integration is and how it works. If it meets the criteria of "we feel that they’re providing value to members, developers and LinkedIn," then one or more endpoints will remain open for that app, and ONLY that app.
For further details, check this link.