Q&A

Cannot get Client NickName(ID) by LineAPI liff.getProfile()

Hi all

When client make registration in LINE APP then he set his Name/NickName/Id (not Internal LINE ID used in LIne API to send messages). We need get it by Line API. liff.getProfile() returns FirstName, LastName and Photo link, but no ID.

How can we get it?

Thanks

  • 0
  • 2
  • 297
  • twitter facebook

You should acrivate profile scope at LINE Login channel setting

https://developers.line.biz/en/reference/liff/#get-profile

  • 0

Thanks of course it was enabled

  • 0
本当によろしいですか? question.vm