Actions9
Overview
This node interacts with the LINE Messaging API to perform various messaging and user profile operations. Specifically, the 'Get User Profile' operation retrieves profile information of a specified user by their User ID. This is useful for applications that need to fetch user details such as display name, user ID, and profile picture from the LINE platform. For example, it can be used in customer support bots to personalize interactions based on user profiles.
Use Case Examples
- Fetching a user's profile information to display their name and avatar in a chat interface.
- Retrieving user details to log or analyze user interactions within a LINE-based application.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the user whose profile information is to be retrieved. |
Output
JSON
displayName- The display name of the user.userId- The unique identifier of the user.pictureUrl- URL of the user's profile picture.statusMessage- The user's status message.
Dependencies
- LINE Messaging API with an API authentication token (channel access token)
Troubleshooting
- Missing or invalid channel access token will cause authentication errors; ensure the API key credential is correctly configured.
- Invalid or empty User ID will result in errors when fetching the profile; verify the User ID is correct and non-empty.
- Errors parsing JSON message parameters indicate malformed input; ensure JSON inputs are valid and properly formatted.
Links
- LINE Messaging API - Get Profile - Official documentation for the Get Profile endpoint of the LINE Messaging API.