Welcome
This is a minimal Hugo test site.
This is a minimal Hugo test site.
Instagram Hashtag Feed API Overview The Instagram Hashtag Feed API provides a simple way to retrieve social media posts filtered by hashtags. Features Mock Mode: Returns sample data without requiring any credentials - perfect for demonstrations Instagram Mode: Fetches real data from Instagram Graph API (requires credentials) OpenAPI Specification: Full API documentation available Caching: Built-in memory cache to reduce API calls Error Handling: Comprehensive error responses with details Quick Start The API endpoint is available at: http://localhost:3000/api/feed ...
OpenAPI Specification The complete API specification is available in OpenAPI 3.0.1 format. View the Specification You can view and interact with the full API specification in several ways: 1. Source File The OpenAPI specification is available in the API app repository: ๐ openapi.yaml 2. Redocly Documentation For an interactive API documentation experience, visit our Redocly-powered documentation portal where you can: Browse all endpoints with detailed descriptions See request/response examples Try out API calls directly in your browser ๐ View Interactive API Docs ...
Error Handling The Instagram Hashtag Feed API returns descriptive error messages with appropriate HTTP status codes. Error Response Format All error responses follow this structure: { "error": "error_code_or_message", "details": "Additional information about the error" } HTTP Status Codes Status Code Description 200 Success - feed items returned 400 Bad request - invalid parameters 502 Upstream error - Instagram API failure or misconfiguration Common Errors Instagram Mode Not Configured When using mode=instagram without proper credentials: ...
Pagination The Instagram Hashtag Feed API uses simple limit-based pagination for controlling the number of results returned. How It Works The API supports a limit parameter that controls the maximum number of items returned in a single request. Parameters limit (integer, optional): Maximum number of items to return Minimum: 1 Maximum: 100 Default: 25 Examples Get the first 10 items curl http://localhost:3000/api/feed?hashtags=family,kids&limit=10 Get maximum items (100) curl http://localhost:3000/api/feed?hashtags=family,kids&limit=100 Use default limit (25 items) curl http://localhost:3000/api/feed?hashtags=family,kids Response Format The response always includes a count field indicating the number of items returned: ...