How to publish a post with the LinkedIn API
Ep #10: How to use LinkedIn API to share content online, including how to get an OAuth2.0 access token and how to use Open Graph meta tags.
Motivation
You might have many different reasons why you want to use the LinkedIn API, but most of them usually boil down to automation.
Personally, I would like to automate the process of marketing my articles on Medium, my newsletter Cloud Native Engineer on Substack, and my personal blog at gsantoro.dev to social media platforms like LinkedIn, X (formerly Twitter), or Instagram.
Lessons learned from my automation attempt, include not just LinkedIn API but also OAuth2 (used by all other social media APIs for authorisation) and Open Graph meta tags.
So keep reading if you want to know more.
How to generate an OAuth2.0 access token for LinkedIn
First of all, we need to create a new App from the LinkedIn developer portal
Keep reading with a 7-day free trial
Subscribe to Cloud Native Engineer to keep reading this post and get 7 days of free access to the full post archives.