LinkedIn API: Retrieving a user's group memberships - linkedin

We are planning to integrate the LinkedIn login for users to be able to easily access restricted content on a large website.
While in general the integration approach is clear we are unable to find some specific documentation of the API capabilities.
Specifically we are interested to know whether it is possible to access a person's group memberships to be able to tie restricted access on our website to specific LinkedIn groups.
The idea is to give LinkedIn users of a certain group access to restricted pages on our website.
To achieve this we would:
- Authenticate the user using LinkedIn oAuth
- Retrieve the user's LinkedIn group memberships
- Allow access to certain content in case the user is member of the respective group
Is this possible?
Thanks for your help!

Related

Users can sign-up on our portal using linkedin but we are unable to access their linkedin ID. How do track the linkedin ID with email address?

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.

Is it possible to retrieve posts from LinkedIn's API?

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

Where to apply for a permission to access the LinkedIn r_fullprofile?

We lost access to some important user information with the upgrade to V2. We have read all the migration info and documentation posted. We would like to know where to apply for a permission to access the LinkedIn r_fullprofile?
PD: We have already sent an email to linkedin_support#cs.linkedin.com explaining some info about the company and how LinkedIn info is used:
"Our mobile app is a collection of mini social and professional networks that exist at physical locations. It is used in local venues, conferences and university classrooms. The ability gives our mutual users the ability to connect with people nearby with similar professional profiles. We use the vanity name to direct users to the public url page of other users. We strongly also encourage that our users signup using Linkedin and for those who don't have a Linkedin account to create one. We believe the integration add value to both of our companies."

Possible to return LinkedIn Degree of Connection from API call?

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

Proper workflow for onboarding new customers via API (we're a PMD partner)

We're actively developing our PMD ads management tool. We have a number of customers who want to advertise but don't have a Facebook account of any kind. I have a two part question:
(1) Is their an API/programmatic way for us to create a proper user account for our client so the client can in turn log in to their fresh Facebook account and enter ads payment information? For example, I can imagine an open graph call like this:
createFBUserAccount(f_name:"Joe",l_name:"Smith",email:"joesmith#gmail.com",isbusiness:"false");
or for a person
createFBUserAccount(business_entity_name:"ACME Corp",email:"contact#acmecorp.com",isbusiness:"true");
(2) For users who don't want a Facebook account but still want to advertise on Facebook through us, what is the proper way to create their ads? Let's say this is a business interested in buying External Website ads (or Mobile App Install, or any number of other ad units).
we currently don't have a way to create Ad Accounts through API. The user will have to create an account directly through https://www.facebook.com/advertising.
We also have business accounts (doc: https://www.facebook.com/help/131976240210052)
We require either a user account or business account to advertise with us.
Hope this is helpful.

Resources