Actions65
- Posts Actions
- Company Pages Actions
- Get Company Page
- Get Company Pages
- Update Company Page
- Get Company Page Followers
- Get Company Page Analytics
- Get Company Page Posts
- Create Company Page Post
- Get Company Page Insights
- Get Company Page Engagement
- Get Company Page Demographics
- Get Company Page Content
- Get Company Page Events
- Create Company Page Event
- Get Company Page Jobs
- Get Company Page Lifecycle
- Advertising Actions
- Get Ad Accounts
- Get Ad Account
- Get Campaigns
- Get Campaign
- Create Campaign
- Update Campaign
- Delete Campaign
- Get Ad Sets
- Get Ad Set
- Create Ad Set
- Update Ad Set
- Delete Ad Set
- Get Ads
- Get Ad
- Create Ad
- Update Ad
- Delete Ad
- Get Audiences
- Get Audience
- Create Audience
- Update Audience
- Delete Audience
- Get Lead Gen Forms
- Get Lead Gen Form
- Create Lead Gen Form
- Update Lead Gen Form
- Delete Lead Gen Form
- Get Ad Analytics
- Get Campaign Analytics
- Get Ad Set Analytics
- Search Actions
Posts → Like Post
AI-generatedOverview
The "Like Post" operation in the Posts resource allows users to programmatically like a LinkedIn post on behalf of a specified author (which can be a person or an organization). This node is useful for automating engagement activities on LinkedIn, such as liking posts to increase visibility, support colleagues or partners, or manage social media interactions at scale.
Common scenarios:
- Automatically liking posts from specific authors or companies as part of a marketing workflow.
- Engaging with content during social media campaigns without manual intervention.
- Integrating LinkedIn post likes into broader CRM or marketing automation systems.
Example:
A marketing team wants to automatically like all posts from their company page or key influencers. Using this node, they provide the LinkedIn Post ID and the Author ID representing the user or organization performing the like action, and the node sends the like request via the LinkedIn API.
Properties
| Name | Meaning |
|---|---|
| Author ID | The LinkedIn Author ID (person or organization) who will perform the like action. |
| Post ID | The LinkedIn Post ID identifying the post to be liked. |
Output
The output JSON contains the response from the LinkedIn API after attempting to like the specified post. Typically, this will include confirmation of the like action or relevant metadata returned by the API.
If the operation fails, the node can output an error object describing the failure if "Continue On Fail" is enabled.
No binary data output is associated with this operation.
Dependencies
- Requires a valid API key credential for the external service called "N8N Tools API" which validates subscription and API key before executing LinkedIn operations.
- Requires OAuth2 credentials for LinkedIn API access.
- The node uses the LinkedIn Marketing API v2 endpoints through a helper class to perform the like action.
- Proper configuration of these credentials and permissions is necessary to successfully perform the like operation.
Troubleshooting
Invalid Subscription or API Key:
Error message:"N8N Tools API: Invalid subscription or API key. Please check your credentials."
Resolution: Verify that the API key credential is correct and active.LinkedIn API Errors:
Errors related to invalid Post ID or Author ID may occur if the IDs are incorrect or the authenticated user lacks permission to like the post.
Resolution: Confirm that the Post ID exists and the Author ID corresponds to an authorized LinkedIn member or organization.Permission Issues:
If the OAuth2 token does not have sufficient scopes to perform the like action, the API call will fail.
Resolution: Ensure the OAuth2 credentials include the required LinkedIn permissions for post engagement.Rate Limits:
LinkedIn API enforces rate limits; excessive requests may result in throttling errors.
Resolution: Implement retry logic or reduce request frequency.
Links and References
- LinkedIn Marketing API Documentation (for social actions including likes)
- n8n Documentation - Creating Custom Nodes
- OAuth 2.0 Authorization Framework (for understanding authentication requirements)
This summary focuses specifically on the "Like Post" operation within the Posts resource based on the provided source code and property definitions.