N8N Tools VK icon

N8N Tools VK

Interact with VKontakte API

Users → Get Followers

AI-generated

Overview

This node integrates with the VKontakte (VK) social network API, allowing users to perform various actions related to VK resources such as posts, messages, groups, users, photos, and more. Specifically, for the Users resource with the Get Followers operation, it retrieves a list of followers for a specified user. This is useful for scenarios where you want to analyze or process the followers of a VK user, such as marketing analysis, audience engagement tracking, or building custom follower lists.

Practical example: You can use this node to fetch followers of a VK user account to export their data, send targeted messages, or integrate follower information into other workflows like CRM systems.

Properties

Name Meaning
Count Number of follower items to return.
Offset Offset for pagination, used to skip a number of followers before starting to return data.

Additional required input for this operation (not listed in your provided properties but used in code):

Name Meaning
userId The ID of the user whose followers are retrieved.

Output

The output is a JSON object containing the followers' data returned by the VK API. This typically includes an array of follower user objects with details such as user IDs, names, and possibly other profile information depending on the VK API response.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential for VKontakte OAuth2 authentication.
  • The node uses the VKontakte API endpoint https://api.vk.com/method.
  • Proper configuration of the VK OAuth2 credentials in n8n is necessary for successful API calls.

Troubleshooting

  • Common issues:

    • Invalid or missing user ID parameter will cause the API call to fail.
    • Insufficient permissions or invalid API credentials may result in authorization errors.
    • Exceeding rate limits imposed by VK API could lead to temporary blocking or errors.
    • Incorrect count or offset values might result in empty or partial data sets.
  • Error messages:

    • "Unknown operation: getFollowers": Indicates a mismatch between the selected operation and the implemented operations; ensure "Get Followers" is selected under "Users".
    • API error messages from VK (e.g., invalid token, access denied) should be resolved by verifying credentials and permissions.
  • To resolve errors, verify all required parameters are set correctly, check API credentials, and consult VK API documentation for permission scopes.

Links and References

Discussion