Actions9
- User Actions
- Media Actions
- Feed Actions
Overview
This node integrates with Instagram's private API to perform various actions related to Instagram media. Specifically, the "Like Media" operation allows users to like a specific Instagram media post by providing its media ID. This is useful for automating engagement activities on Instagram posts, such as liking photos or videos programmatically.
Practical examples include:
- Automatically liking posts from certain users or hashtags.
- Integrating Instagram engagement into marketing workflows.
- Building custom social media management tools that interact with Instagram content.
Properties
| Name | Meaning |
|---|---|
| Media ID | Instagram media ID (string). The unique identifier of the Instagram media post to like. |
Output
The output JSON contains a simple success confirmation object when the "Like Media" operation completes successfully:
{
"success": true
}
This indicates that the media post was liked without errors.
No binary data output is produced by this operation.
Dependencies
- Requires an Instagram API authentication credential (an API key or username/password session) configured in n8n.
- Uses a private Instagram API client library internally to authenticate and perform actions.
- The node attempts to reuse saved session data if available; otherwise, it authenticates using provided credentials.
Troubleshooting
- Authentication failures: If the node throws an error about Instagram authentication failure, verify that the provided credentials are correct and have not expired. Re-authenticate or update credentials as needed.
- Invalid Media ID: Providing an incorrect or non-existent media ID will likely cause the operation to fail. Ensure the media ID is valid and accessible.
- Rate limits or API restrictions: Instagram may limit the number of likes or API calls allowed. If you encounter errors related to rate limiting, consider adding delays or reducing request frequency.
- Operation not supported: If the node reports that the operation is not supported for the resource, double-check that the selected resource is "Media" and the operation is "Like Media".
Links and References
- Instagram Private API Documentation (third-party) — For understanding how private API interactions work.
- Instagram Help Center — Official support for Instagram features and policies.
- n8n Documentation — For general guidance on using n8n nodes and credentials.