Q&A

How to get the list of user ids via message api

Hey folks:

I know I can get the user id from the 'event'.

Is there any way to get the list of all user id ?

Big thanks.

  • 0
  • 1
  • 2293
  • twitter facebook

There is two way to slove.

  1. Call API (https://api.line.me/v2/bot/followers/ids) to get your follower's list before you push message. ** This API is only open for verified or premium accounts. **
  2. You need to make the list by yourself. Recoed the user's id when the follow or unfollow's event.
  • 1
Are you sure? question.vm