Instagram Private API icon

Instagram Private API

Interact with Instagram using private API methods

Overview

This node integrates with Instagram's private API to perform various user-related operations. Specifically, the Get Following operation retrieves a list of Instagram users that a specified user is following. This can be useful for social media managers, marketers, or developers who want to analyze or monitor the accounts followed by a particular Instagram user.

Practical examples:

  • A marketer wants to analyze the interests of an influencer by examining the accounts they follow.
  • A developer builds a tool to track changes in a user's following list over time.
  • A social media analyst gathers data on competitor networks by exploring their following lists.

Properties

Name Meaning
Username The Instagram username (without the '@' symbol) of the user whose following list to get.
Limit Maximum number of following users to return. Accepts values from 1 to 100.

Output

The output is a JSON array where each item represents a user that the specified Instagram user is following. Each user object typically contains detailed profile information as returned by Instagram's private API, such as user ID, username, full name, profile picture URL, and other metadata.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for Instagram Private API access, including session data or username/password authentication.
  • The node uses an internal Instagram client library to interact with Instagram's private API.
  • Proper Instagram credentials must be configured in n8n for authentication.

Troubleshooting

  • Authentication failures: If the node throws an error like Instagram authentication failed, verify that the provided Instagram credentials are correct and have valid session data or username/password.
  • Rate limits or API restrictions: Instagram may limit requests; if you encounter errors related to rate limiting, consider reducing the Limit parameter or adding delays between executions.
  • Invalid username: If the username does not exist or is misspelled, the node will fail to retrieve data. Double-check the username input.
  • Unsupported operation error: If the operation or resource parameters are misconfigured, the node will throw an error indicating unsupported operation-resource combinations.

Links and References

Discussion