Actions48
- Account Actions
- Authentication Actions
- Blocks Actions
- Bookmarks Actions
- Favourites Actions
- Featured Tags Actions
- Follow Requests Actions
- Media Actions
- Mutes Actions
- Notifications Actions
- Status Actions
- Timeline Actions
- Polls Actions
Overview
This node interacts with the Mastodon API to perform various operations related to Mastodon accounts. Specifically, the 'View User Profile' operation under the 'Account' resource retrieves detailed profile information of a specified Mastodon user account. This is useful for scenarios where you want to fetch user details such as username, display name, bio, and optionally relationship information from a Mastodon instance. For example, it can be used to display user profiles in a social media dashboard or to analyze user data for community management.
Use Case Examples
- Fetching a user's profile information by providing the Mastodon instance URL and the account ID.
- Including relationship information to see how the user is connected to the authenticated account.
Properties
| Name | Meaning |
|---|---|
| Mastodon URL | The URL of the Mastodon instance to connect to. This is required to specify which Mastodon server the API requests will be sent to. |
| Account ID | The unique identifier of the Mastodon account whose profile is to be viewed. This is required to specify which user's profile to retrieve. |
| With Relationships | A boolean option to include relationship information with the account profile. When true, additional data about the relationship between the authenticated user and the target account is included. |
Output
JSON
id- The unique identifier of the Mastodon account.username- The username of the account.display_name- The display name of the account.note- The bio or description of the account.url- The URL to the account's profile page.avatar- The URL to the account's avatar image.header- The URL to the account's header image.followers_count- The number of followers the account has.following_count- The number of accounts the user is following.statuses_count- The number of statuses (posts) the account has made.relationship- Optional relationship information between the authenticated user and the account, if requested.
Dependencies
- Requires an OAuth2 API credential for Mastodon authentication to access the Mastodon API.
Troubleshooting
- Ensure the Mastodon URL is correct and accessible; otherwise, the API requests will fail.
- Verify that the Account ID is valid and exists on the specified Mastodon instance.
- If the 'With Relationships' option is enabled, ensure the authenticated user has permission to view relationship data.
- Common error messages include 'The operation is not implemented' if an unsupported operation is selected, or network errors if the Mastodon instance URL is unreachable.
- If authentication fails, check that the OAuth2 credentials are correctly configured and valid.
Links
- Mastodon API - Get Account - Official Mastodon API documentation for retrieving account information.