

The result of this operation is an authorization code) That's simply asking the user to authorize the application being run to interact with LinkedIn on his behalf. get an authorization code from LinkedIn API.OAuth authentication is based on information's exchange, a two-step process during which, we: Now to get the access token, we need to understand how OAuth works when interacting with LinkedIn API. To be able to use LinkedIn API to publish a post, we need -as described above- an access token that help LinkedIn identifies the request we'll be doing and approving it. Remember the signing with Google screens? Cool. OAuth: a technique that enables users to grant third-party access to their resources without sharing their password. You could think of this as an identifier of the real user communicating with LinkedIn API or even simpler, it has the same role as your login & password when authenticating with LinkedIn website, but programmatically :) It is used in the process of authentication, which is the process of verifying the identity of a user or a system.

That's what an API is.Īccess token: a string of characters that represents the authorization to access a particular resource or service.

These two programs needs a way to communicate. (Think of LinkedIn API as a software running on a distant computer, and the script we we'll be creating as a program running on your machine/computer). DefinitionsĪPI: buzz words aside, an API is a way to let programs communicate with each others. How could we get this variable? What's its role? You must be wondering, right? Otherwise why would you be here in the first place 😇įirst things first, let's clarify some basic stuff. It will be used in the second part of this series to do an API call to post "Hello LinkedIn API :-) ".
Linkedin oauth how to#
6 min read How to get LinkedIn API access tokenĪs a reminder, we said that posting on LinkedIn via API requires having a specific variable named access token.
