I want to display the additional friend screen when I use the LINE and Alexa account link.

Asked 2 years ago, Updated 2 years ago, 92 views

Using Alexa, LINE login, and Messaging API, I create a LINE bot that works with Alexa.
We are doing the same thing as the following article.
Article: https://qiita.com/igarashisan_t/items/d1b2e8283a3feddddf46

However, the add friends screen does not appear when you link to your account.
If you link your account, you will be transitioned from the LNIE login screen to the screen where the Alexa app account link has ended.

Specifically, we did the following:
·Set to bot_prompt=aggressive
·Specify the bot created from the LINE login console
·Set the app type to web

Once I linked my account without setting bot_prompt, I disconnected the account link once and linked it again, but the Add Friends screen did not appear.

If you know why the friend add screen is not displayed, please reply.

Additional information

It was in the document, but if there is a user session and scope is set to profile, the consent screen does not appear.
The consent screen and the friend add screen may be different, but the same phenomenon may be occurring.

Note: https://developers.line.biz/ja/docs/line-login/web/integrate-line-login/ #making-an-authorization-request

node.js line

2022-09-30 14:24

1 Answers

As far as the behavior is concerned, it only occurs when authorizing LINE logins.

In other words, if you have already granted an authorization, you may need to revoke it once.

For LINE app for Android,

You can revoke authorization.

If you follow the bot_prompt=aggressive link in this state, the event will occur.


2022-09-30 14:24

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.