I want to get friends, their profiles and user id to send message through line api on my line account.
Here is the line but I can't understand: https://developers.line.me/in_app_web/api-reference#getting_friend_profiles
I want to get friends, their profiles and user id to send message through line api on my line account.
Here is the line but I can't understand: https://developers.line.me/in_app_web/api-reference#getting_friend_profiles
LINE API supports user to get the user IDs of users who have added the LINE official account as a friend (followers).
HTTP request GET https://api.line.me/v2/bot/followers/ids
get the user IDs of users who have added the LINE official account as a friend (followers).
HTTP request
GET https://api.line.me/v2/bot/followers/ids
Shell script example
curl -v -X GET https://api.line.me/v2/bot/followers/ids? \
-H 'Authorization: Bearer {channel access token}'
Please beware of the feature is available only to verified or premium accounts.