Programmer
Programmer

Reputation: 39

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?

Upvotes: 0

Views: 536

Answers (1)

Justin Kominar
Justin Kominar

Reputation: 3374

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

Upvotes: 0

Related Questions