LinkedIn is a business and employment-focused social media platform. Manage your professional identity. Build and engage with your professional network. Access knowledge, insights and opportunities.
Go to siteThe LinkedIn API on Pipedream allows you to automate interactions with your LinkedIn account, such as posting updates, managing your profile, and engaging with your network. With Pipedream's serverless platform, you can create workflows that trigger on various events, process data, and connect with countless other apps to extend your LinkedIn presence, analyze your network's demographics, automate content sharing, and more.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
linkedin: {
type: "app",
app: "linkedin",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.linkedin.com/v2/me`,
headers: {
Authorization: `Bearer ${this.linkedin.$auth.oauth_access_token}`,
},
})
},
})
Automated Content Sharing: Share blog posts or articles from your company website to LinkedIn as soon as they're published by connecting the RSS feed to LinkedIn using Pipedream's built-in RSS trigger and LinkedIn actions.
Profile Update Notifications: Set up a workflow that monitors changes to your LinkedIn profile and sends you or your team an email alert whenever updates are made. This can be useful for maintaining a record of changes or for team transparency about profile edits.
Scheduled Posts and Engagement Analysis: Create a workflow that schedules and posts content to LinkedIn at optimal times. Include steps that analyze post engagement using Pipedream's Data Store to track likes, comments, and shares over time, which helps in understanding content performance. .
Create post on LinkedIn using text, URL or article. See the docs for more information
Create post on LinkedIn using text, URL or article. See the docs for more information
Create a comment on a share or user generated content post. See the docs here
Create an image post on LinkedIn. See the docs here
LinkedIn uses OAuth authentication. When you connect your LinkedIn account, Pipedream will open a popup window where you can sign into LinkedIn and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any LinkedIn API.
Pipedream requests the following authorization scopes when you connect your account:
r_1st_connections_size
r_ads_reporting
rw_organization_admin
w_organization_social
r_organization_social
w_member_social_feed
w_member_social
w_organization_social_feed
r_basicprofile
rw_ads
r_organization_social_feed
r_ads
GET
https://www.linkedin.com/oauth/v2/authorization
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://www.linkedin.com/oauth/v2/accessToken
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://www.linkedin.com/oauth/v2/accessToken
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
redirect_uri={{oauth.redirect_uri}}
&
refresh_token={{oauth.refresh_token}}