Actions28
- TikTok Actions
- Instagram Actions
- YouTube Actions
- Twitter Actions
Instagram → Get User Posts
AI-generatedSummary
Fetch posts from a specified Instagram user by their user ID, with optional pagination support.
Inputs
- User ID (required) — The Instagram user ID whose posts you want to fetch.
- Count — The number of posts to retrieve, defaulting to 12 if not specified.
- End Cursor — A pagination cursor string to fetch the next page of results.
Output shape
a single JSON object containing the list of Instagram posts and pagination information
The response may include an end cursor to paginate further. This operation returns JSON with posts data fetched via TikHub's Instagram API endpoint for user posts by user ID.
Examples
Example 1: Fetch first 12 posts for user ID '25025320'.
Set 'User ID' to '25025320'; 'Count' to 12; leave 'End Cursor' empty.
Example 2: Fetch next page of posts using a known end cursor.
Set 'User ID' to the Instagram user ID; 'Count' as desired; provide the 'End Cursor' returned from a previous call.