「ADAM 筆記」Linking user accounts

    摘自: https://developers.line.me/en/docs/messaging-api/linking-accounts/


iframe src=\”https://developers.line.me/en/docs/messaging-api/linking-accounts/\” class=\”iframe-full-content\”>

Linking user accounts

By using the account link feature, providers (businesses and developers) can securely link the existing user accounts from their service with accounts belonging to LINE users that have friended providers\’ bot. This will allow providers to utilize the user information they\’ve acquired and use LINE bots to provide even better services.
For example, the following services can be provided by linking user accounts on a shopping site with LINE user accounts:

  • send messages from a bot when the user purchases a product from the shopping site
  • accept and process orders when users send messages to a bot

Accounts can also be linked through LINE Login, but a LINE Login channel will also be required in order to do so. The account link feature can be implemented even when only the Messaging API is being used.


Please comply with the following two terms when using the account link feature:

  • you must provide the user with an unlinking feature
  • notify the user that there is an unlinking feature when he/she links his/her account

For example, you can use the Messaging API to change the rich menu shown to individual users. You could make it easy for users and provide the account link feature by showing an account link menu item to users that have not yet linked their accounts, and showing an unlinking menu item to those that have already linked their accounts.

var s1y76ia30gco1rd;(function(d, t) {
var s = d.createElement(t), options = {
\’defaultValues\’: \’field11=en/docs/messaging-api/linking-accounts.html&field13=Linking%20user%20accounts\’,
s.src = (\’https:\’ == d.location.protocol ? \’https://\’ : \’http://\’) + \’www.wufoo.com/scripts/embed/form.js\’;
s.onload = s.onreadystatechange = function() {
var rs = this.readyState; if (rs) if (rs != \’complete\’) if (rs != \’loaded\’) return;
try { s1y76ia30gco1rd = new WufooForm();s1y76ia30gco1rd.initialize(options);s1y76ia30gco1rd.display(); } catch (e) {}};
var scr = d.getElementsByTagName(t)[0], par = scr.parentNode; par.insertBefore(s, scr);
})(document, \’script\’);

<footer><div class=\"GlobalFooterWrapper\">
</footer><script src=\"/javascripts/jquery-3.3.1.min-0dc32db4.js\"></script><script src=\"/javascripts/download-site-a5c921b1.js\"></script><script src=\"/assets/js/lib.js\"></script><script src=\"/assets/js/docs/local.js\"></script>


發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *