N8N Tools - LinkedIn Enhanced icon

N8N Tools - LinkedIn Enhanced

Comprehensive LinkedIn Marketing API v2 integration for N8N workflows with B2B marketing and networking features

Posts → Unlike Post

AI-generated

Overview

The "Unlike Post" operation within the Posts resource of this LinkedIn Enhanced node allows users to remove a previously given "like" from a specific LinkedIn post. This is useful in scenarios where a user or organization wants to retract their endorsement or interaction with a post, for example, if the post content changes or was liked by mistake.

Practical examples:

  • A social media manager automates cleanup of interactions by unliking posts that no longer align with brand messaging.
  • An individual user integrates this node into a workflow to manage their LinkedIn activity programmatically, including undoing likes on posts.

Properties

Name Meaning
Author ID LinkedIn Author ID (person or organization) who is performing the unlike action.
Post ID The unique identifier of the LinkedIn post to be unliked.

Note: For the "Unlike Post" operation, only authorId and postId are required input properties.

Output

The output JSON contains the response from the LinkedIn API after attempting to unlike the specified post. Typically, this will confirm success or provide details about the unlike action. The exact structure depends on the LinkedIn API response but generally includes status information.

No binary data output is involved in this operation.

Example output snippet (conceptual):

{
  "success": true,
  "postId": "urn:li:share:123456789",
  "authorId": "urn:li:person:abcdefg"
}

Dependencies

  • Requires an active subscription and valid API key credential for the external N8N Tools API service used for validation.
  • Requires OAuth2 credentials for LinkedIn API access.
  • The node uses the LinkedIn Marketing API v2 endpoints via helper classes bundled in the node's dependencies.
  • Proper configuration of these credentials in n8n is necessary for successful execution.

Troubleshooting

  • Invalid subscription or API key error: If the node throws an error indicating invalid subscription or API key, verify that the API key credential is correctly configured and active.
  • Authorization errors: Ensure the LinkedIn OAuth2 credentials have sufficient permissions to perform post interactions.
  • Post or Author ID not found: Double-check that the provided Post ID and Author ID are correct and correspond to existing LinkedIn entities.
  • Network or API rate limits: Be aware of LinkedIn API rate limits; excessive requests may cause failures.
  • Continue on Fail: If enabled, the node will continue processing other items even if one fails, returning error details in the output.

Links and References


This summary focuses specifically on the "Unlike Post" operation under the "Posts" resource as requested.

Discussion