Actions37
- 👥 Сбор аудитории Actions
- 📝 Постинг контента Actions
- ❤️ Взаимодействия Actions
- 💬 Сообщения Actions
- 🔧 Утилиты Actions
🔧 Утилиты → Все фотографии
AI-generatedSummary
Retrieve all photos of the specified VK user, with support for pagination and auto-pagination to load multiple pages.
Inputs
- ownerId — Numeric ID of the photo owner; 0 means the current user.
- count — Number of photos to retrieve per request (minimum 1, maximum 200).
- offset — Offset for pagination, ignored if auto-pagination is enabled.
- autoPagination — Boolean to automatically fetch all pages of photos up to maxItems.
- pageSize — Number of photos to request per page when auto-pagination is enabled (1 to 1000).
- maxItems — Maximum total number of photos to retrieve when auto-pagination is enabled.
Output shape
A list of photo objects corresponding to the user's photos.
If auto-pagination is enabled, the node fetches multiple pages up to maxItems and returns all photos as separate output items. Without auto-pagination, it returns up to count photos starting at the offset. Each output item contains one photo JSON object.
Examples
Example 1: Retrieve the first 200 photos of the current user.
Set ownerId to 0, count to 200, autoPagination to false.
Example 2: Fetch all photos (up to 1000) of a given user with ID 12345 using auto-pagination.
Set ownerId to 12345, autoPagination to true, pageSize to 100, maxItems to 1000.