Question Details

Answered
Converting an MID to a user ID

There is an endpoint: Converting an MID to a user ID ( https://api.line.me/v2/bot/dedisco/migration/userId ) but I do not have permissions, I get 403: Forbidden in response. Currently permissions of my provider are: PROFILE, OPENID_CONNECT. And I do not know how to extend it. Can somebody help me to extend my permissions to get user line ID.

0
Profile picture
LnwasiaTH

Answers

1
Profile picture
bottsjw-War Phoenix
Posted: 2 months ago
Edited: 2 months ago

If your channel was created after the V2 API was released you won’t be able to use this webhook.  The concept of MID changed to UserId in V2. This is not to be confused with LINE ID which is not a exposed in any of the APIs to my knowledge. 

You can read more here  https://developers.line.biz/en/docs/line-login/converting-mid-to-userid/

Are you sure? question.vm