Get LINE User ID From Webhook

LINE user ID, a 33-character random string, is crucial for bot development. Webhook enables data reception between servers. Set up a webhook URL in the LINE Developer Console to receive user interactions. Use webhook.site for testing without building a server. Send messages to your LINE Official Account to verify the setup.

Get LINE user ID is an important step in building a LINE bot. The user ID is a 33-character long random string, which is different from the ID that users set by themselves. LINE Developer: Get user IDs

What Is Webhook?

Webhook is a way to receive data from one server to another server. In the LINE Developer Console, you can set up a webhook URL. When a user adds your LINE Official Account as a friend or sends a message, the webhook will receive the message and send it to your server.

Theoretically, you need to build a server to receive the webhook data. Luckily, we can use webhook.site to test the webhook.

Use Webhook.site To Get User ID

On webhook.site, you can get a webhook url. Copy and paste the url into the LINE Developer Console then verify the URL. Once the URL is verified, you can start to send a message to your LINE Official Account and check the webhook data.

If everything is set up correctly, you will see the similar webhook event in the webhook.site.

πŸš€ Unlock Ads-Free Experience At $5/year

βœ“ 14 days free trial βœ“ Cancel anytime

Leave a Comment

Your email address will not be published. Required fields are marked *