There are a few ways to get LINE userId without using the webhook in Messaging API
1) Retrieve it from LINE Login
2) Retrieve it from LIFF App
Which means you may need to make them register by using these methods to get their userId before they can start using your service
Note: The userId it uniquely generated per Provider
so it is safe to use the userId across those Channels generated in the same Provider.
- 3