Actions9
- User Actions
- Media Actions
- Feed Actions
Overview
This node interacts with Instagram's private API to retrieve posts from a user's timeline feed. It is useful for scenarios where you want to programmatically access the latest posts appearing in the authenticated user's Instagram timeline, such as for social media monitoring, content aggregation, or analytics.
For example, you can use this node to fetch the most recent posts that appear on your Instagram home feed, enabling automated workflows that analyze trending content or repost interesting items.
Properties
| Name | Meaning |
|---|---|
| Limit | Maximum number of items to return. You can specify a number between 1 and 100. |
Output
The node outputs an array of JSON objects representing Instagram posts from the timeline feed. Each object contains detailed information about a post, such as its ID, caption, media URLs, user info, timestamps, and other metadata provided by Instagram's private API.
No binary data output is produced by this operation.
Dependencies
- Requires an Instagram API authentication credential (an API key or session token) configured in n8n.
- Uses Instagram private API client library bundled as
InstagramClientto interact with Instagram endpoints. - 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 like "Instagram authentication failed," verify that your Instagram credentials are correct and that any required session data is valid.
- Unsupported operation errors: If you see errors indicating the operation is not supported for the resource, ensure you have selected the correct Resource ("Feed") and Operation ("Get Timeline Feed").
- Rate limits or API changes: Since this uses a private API, Instagram may change endpoints or impose rate limits causing failures. In such cases, re-authenticate or check for updates to the node or underlying client library.
- Empty results: If no posts are returned, confirm that the authenticated user has posts in their timeline feed and that the limit parameter is set appropriately.
Links and References
- Instagram Private API (Unofficial) - Reference for the underlying client library used.
- Instagram Developer Documentation - Official docs for Instagram APIs (note: this node uses private API methods, which differ).