Please take a 1-minute survey to help us help you, with more Sample Apps for LinkedIn APIs. Go to www.slido.com and use the code SampleApp to answer the survey
Sample Application is a ready-to-use code example that enables you to try out RESTful calls to LinkedIn's APIs. The application provides scalable and customizable code for your requirements as you begin API development with LinkedIn.
The sample application contains the client and server component you can use to manage your requests to LinkedIn's APIs. The server creates and stores your access token and invokes APIs upon request from the client application. You can download or clone the OAuth sample application and try out these APIs.
Note: For a detailed demo, please visit LinkedIn's public documentation page
The sample application uses the following development tools:
Configure the client app:
Navigate to the application.properties file. You can find this file under: /client/src/main/resources/application.properties
To edit server link or port with custom values modify the following values:
server.port =
SERVER_URL =
Save the changes.
Configure the server app:
Navigate to the config.properties file. You can find this file under: /server/src/main/resources/config.properties
Edit the following properties in the file with your client credentials:
clientId =
clientSecret =
redirectUri =
scope =
client_url =
Save the changes.
To start the server:
mvn install
mvn spring-boot:run
Note: The server will be running on http://localhost:8080/
To start the client:
mvn install
mvn spring-boot:run
Note: The client will be running on http://localhost:8989/
Component Name | License | Linked | Modified |
---|---|---|---|
boot:spring-boot-starter-parent:2.5.2 | Apache 2.0 | Static | No |
boot:spring-boot-starter-parent:2.5.2 | Apache 2.0 | Static | No |
org.springframework.boot:spring-boot-starter-thymeleaf:2.2.2.RELEASE | Apache 2.0 | Static | No |
org.springframework.boot:spring-boot-devtools:2.6.0 | Apache 2.0 | Static | No |
com.fasterxml.jackson.core:jackson-databind:2.13.0 | Apache 2.0 | Static | No |
com.fasterxml.jackson.core:jackson-core:2.13.0 | Apache 2.0 | Static | No |
org.springframework.boot:spring-boot-starter-web:2.5.2 | Apache 2.0 | Static | No |
org.springframework.boot:spring-boot-starter-test:2.6.0 | Apache 2.0 | Static | No |
org.springframework:spring-core:5.3.13 | Apache 2.0 | Static | No |