assistance regarding the integration of the LINE messaging API with my Bubble website. My goal is to send booking information to users on their LINE application whenever they make a booking on my website.
For testing purposes, I have set up a workflow that triggers when a user logs in. In this workflow, I am using the “LINE - Push Text” action, and in the body(uid) field, I have set it to “Get Data from External API → LINE - Get_User_Info”. In the pop-up, I have entered the path(userid) as my LINE message API channel account user ID from the LINE Developer Console. With this setup, I am able to receive the message on my own specified account successfully.
However, when I attempt to use “current user → lineid” in the path(userid) field to send the message to the currently logged-in user, I receive an error message. My objective is to be able to send a message (e.g., “Hi”) to the user who has logged in.
to sum up , how can i send Line Message to the user on their Line app ( i have fetched their line-id from line login aggressive ) .
Element Button LOG IN / SIGN UP - The service LINE - get_user_info just returned an error (HTTP 404). Please contact the plugin author directly for feedback. Raw error:
this error message is when i use current user->login aggressive’id or
(another user of my developer console which is admin ) *
*in simple terms - *
*i have 2 accounts of line developer console , one from which i created the provider and another which is admin ( i gave access from my creator account) , *
*when i use the creator account user id in path(userid) it works , but gives above error when i use different user userid *
when i insert the userid (of main account ) it works , i recieve a text but when i try any other account it fails.
this is what i used to test the plugin if i can send messages to user (to connect my official line account with logged in user) to send message
i just wanna know if i can send dynamic messages ( like if you join and create a booking , i can send you your booking details, and i can send you personalized message about your booking) how to achieve this ?
From the error message it looks like you are using a plugin and not connecting via API directly. I would suggest contacting the plugin developer for assistance in debugging the issue as it would most likely be on the plugin side.
But, there is a possibility that the user who is logged in that is not your admin account does not have a Line ID saved in the Bubble database, so the plugin would not have a Line ID and would produce an error. To first test this, I would look at the data type where the Line ID is saved and see if it is there or not. If it is not, that is likely the issue, if it is there and you know for a fact that is a valid ID for a real Line account, contact the plugin developer.