Requested access for LinkedIn Advertising API - linkedin

The access request form was filled in to request access to LinkedIn Advertising API for TataSteelEurope. However, the access was denied(reason: not a proper use case) and I am not able to further fill in the form.
We need access to LinkedIn Advertising API for fetching LinkedIn feeds of our company page(TataSteelEurope) and displaying the same in our website(www.tatasteeleurope.com).
Can anyone please help me on this ?
The access request form was filled in to request access to LinkedIn Advertising API for TataSteelEurope. However, the access was denied(reason: not a proper use case) and I am not able to further fill in the form.
We need access to LinkedIn Advertising API for fetching LinkedIn feeds of our company page(TataSteelEurope) and displaying the same in our website(www.tatasteeleurope.com).

Related

Linkedin developer api access giving Unauthorized while page fetch api

I have implemented LinkedIn developer API in my organization, for page fetch and share posts on the LinkedIn page. Firstly I generate access token and then access LinkedIn page fetch API :
https://api.linkedin.com/v2/organizationAcls?q=roleAssignee&role=ADMINISTRATOR&projection=(elements*(*,roleAssignee~(localizedFirstName, localizedLastName), organization~(localizedName)))
Since last week I am facing an error when I generate a new access token from my account and try to fetch page LinkedIn it randomly gives me an Unauthorized exception. When I check the token from LinkedIn token introspection API it's providing me status as revoked. Why is this happening? I can't find a reason anywhere.
#linkedin

LinkedIn API : get company datas

I need to develop a new PHP script which connects to my LinkedIn company page and then backup some datas. I read the official documentation on company pages management and the one about the OAuth2, but why should I use it ?
I don't understand : I don't want people to login on my website thought their linkedin account, I only need to connect to my company page in order to grab some datas.
PS : I already created an application on https://developer.linkedin.com/my-apps. What URL should I request with the "Client ID" and "Client Secret" keys ? I'm lost
LinkedIn requires you to use OAuth2.
A workaround for this is to authenticate under your account or your company account, get the access token, and store it in a database. The application then reads the token from the database to be submitted with any API calls, bypassing the need for users to authenticate themselves when they hit the website. This will allow you to display the company updates from LinkedIn on your homepage without prompting visitors for OAuth2 login.
If you take this approach, the token expires every 90 days and needs to be renewed. Depending on the amount of traffic you get, it might also be worthwhile to look into caching the API response so you're only making an API call every hour or so. Your developer account limits the number of API calls you can make in 24 hours, and if you exceed the threshold you will be locked out of making any additional requests until the following day.

Facing Issues to get Permissions from Linkedin API

I want to fetch the Linkedin connections of a user via Auth 2 API. But As per different blogs and information on the internet, I found that I need to get partnered with Linkedin to get the details of Profile.
I need following data for a username, photo, headline, contact information, experience, education, summary, location and connections.
When I try to fetch the data from following APIs
https://api.linkedin.com/v2/me?projection=(id,firstName,lastName,maidenName,phoneticFirstName,phoneticLastName,headline,location,industryName,summary,specialties,positions,profilePicture(displayImage~:playableStreams),vanityName,lastModified,organizations)
Result
API error (403) Not enough permissions to access:
Please help me with the process to fetch the data from Linked API.
Regards
LinkedIn API v2 by default will request the r_liteprofile when performing the authorize URL. this means that the user will only have to allow you to get a limited subset of information with the granted token.
You need to make sure than upon the authorization request ("https://www.linkedin.com/oauth/v2/authorization") you pass a scope parameter that contains the r_basicprofile in order to get the extra data
see https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/migration-faq
also https://developer.linkedin.com/docs/ref/v2/profile/basic-profile for the supported fields

How to fetch someone's profile info using LinkedIn APIs

Is LinkedIn exposes APIs to fetch someone's profile info from LinkedIn using email or name?
You will have to be logged in to view this, but here is the People Search API link

LinkedIn Federator - Get Network without API

I am looking to fetch degree of my particular connection without API using LinkedIn federator. For e.g. I have a first degree connection named "Vivek Joshi" working in company "ABC". So, I query LinkedIn federator to find the degree which is first("1st") in this case.
Query URL -- https://www.linkedin.com/ta/federator?query=Vivek,Joshi,ABC&types=mynetwork
and I get a JSON response containing degree information. The above URL works only if user is logged in to LinkedIn.
I have asp.net application in which I have "Sign in with LinkedIn" option as available too. But when I authorize any user to LinkedIn through my application and see the response headers of the LinkedIn authorization call, there is a header named as "Set-Cookie" but it doesn't have cookie I'm looking for which is "li_at"(LinkedIn Session Cookie).
The problem is that query url mentioned above expects a request header named as "cookie" with the value of "li_at" cookie.
How can I make the above URL work?
It is not possible to retrieve this information without using the API. Access to connection data is currently available to select LinkedIn partner developers. You can learn more about LinkedIn's partner programs here: https://developer.linkedin.com/partner-programs

Resources