Welcome to this complete guide on using the LinkedIn API with Python.
In this guide, you will learn how to get your credentials, authenticate the API using OAuth 2.0 and make your first text and link post using the LinkedIn API and Python.
The guide is simple enough. Look how Daniel Heredia Mejias managed to post to Linkedin with the API only a few hours after I shared this guide.
If you don’t know how to use Python, just read my complete guide on Python for SEO.
I think the LinkedIn API is so limited for users with basic access, it is painful! You can use this tutorial to at least make simple posts automation to your public profile.
w_member_social: Post, comment and like posts on behalf of an authenticated member.
r_emailaddress: Retrieve your own email address
r_liteprofile: Retrieve your own user profile.
You pretty much can’t do anything else without requesting partner access, which you probably will not be able to get.
If you want to go around LinkedIn non-sense restrictions, you can check this awesome NPM tutorial.
If you want to do it the “right” way, follow this guide!
Chapter 1: Connect to the LinkedIn API
The first step to use the LinkedIn API is to create an app in the LinkedIn Developer Tool. In this tutorial, we will see how you can get your OAuth 2.0 credentials to use the LinkedIn API. Get your credentials
The OAuth 2.0 Protocol is a third party protocol used for authentication and authorization. In this article, we will see how to authenticate the LinkedIn API using OAuth 2.0. Learn how to authenticate with OAuth
Chapter 2: How to Use The LinkedIn API
For any API call, you will need to have your user URN at hand. In the next script, we will learn how to query your user information using the LinkedIn API. Get your User Information
In this tutorial, we will learn how to use the LinkedIn API and Python to make a text post, a link post, and a link post with a mention to a company page. Learn how to post on LinkedIn with Python
Other Useful Guides For SEO
This is the end of the guide on Linkedin API. Remember to share and link to this post if you enjoyed it.
Sr SEO Specialist at Seek (Melbourne, Australia). Specialized in technical SEO. In a quest to programmatic SEO for large organizations through the use of Python, R and machine learning.