- The user should have an account on https://www.linkedin.com
- Create a company page on Linkedin
- Visit https://developer.linkedin.com/ & create an app
- Use your Page name during app creation.
- Add Product Share on LinkedIn & Sign In with LinkedIn using OpenID Connect under Product Tab
- Go to Settings and verify LinkedIn page
- Go to Auth tab and on the right side you have OAuth 2.0 tools to generate an access token
- Once you get access token use Postman to get User Asset ID
See on Youtube https://youtu.be/3JqpUyKukyw
Linkedin API Details:
Get User Information :
Method – Get & URL: https://api.linkedin.com/v2/userinfo
Create a TEXT Post
Method – Post & URL : https://api.linkedin.com/v2/ugcPosts
Request Body:
{ "author": "urn:li:person:<userInfo>", "lifecycleState": "PUBLISHED", "specificContent": { "com.linkedin.ugc.ShareContent": { "shareCommentary": { "text": "Hello World! This is my first Share on LinkedIn!1" }, "shareMediaCategory": "NONE" } }, "visibility": { "com.linkedin.ugc.MemberNetworkVisibility": "PUBLIC" } }
No responses yet