Actions42
- Browse Actions
- Gallery Actions
- Stash Actions
- User Actions
User → Get Friends
AI-generatedOverview
This node operation retrieves the list of friends for a specified DeviantArt user or the authenticated user if no username is provided. It supports pagination through optional offset and limit parameters, allowing users to control the number of results and skip a certain number of items. This operation is useful for applications that need to display or process a user's friends on DeviantArt, such as social media integrations, user analytics, or community management tools.
Use Case Examples
- Retrieve friends of a specific DeviantArt user by providing their username.
- Fetch friends of the authenticated user without specifying a username.
- Paginate through a user's friends list by setting offset and limit values.
Properties
| Name | Meaning |
|---|---|
| Username | Username to get information for (leave empty for authenticated user) |
| Additional Fields | Additional options for the request, including Offset (number of items to skip) and Limit (max number of results to return) |
Output
JSON
json- The JSON response containing the list of friends and related data from the DeviantArt API
Dependencies
- DeviantArt API with OAuth2 authentication
Troubleshooting
- Ensure the OAuth2 credentials are correctly configured and authorized to access user data.
- If the username is invalid or does not exist, the API will return an error; verify the username input.
- Pagination parameters (offset and limit) should be within valid ranges to avoid empty or partial results.
Links
- DeviantArt API - Get Friends - Official DeviantArt API documentation for the Get Friends endpoint