åæãšæ³šæäºé
以äžãåæãšæ³šæäºé ã«ãªããŸãã
- Messaging API ã䜿ã£ãå®è£ äŸã API èšå®ã®è§£èª¬ã¯æ¬èšäºã§ã¯è¡ããŸããã
ãã®èšäºã®ãŽãŒã«
Web ã¢ããªãã¢ãã€ã«ã¢ããªããã® LINE ãžã®ã¡ãã»ãŒãžæçš¿æ©èœããããäœæãå®è£ ããããã®æºåãšã㊠LINE Developers ã«ç»é²ã㊠Messaging API ã®äœ¿çšæºåããããšãããŸã§ããŽãŒã«ãšããŸãã
Messaging APIãå§ããã
Messaging APIãå§ããã«ããã£ãŠããŸããã£ãã«ãäœæããå¿ èŠããããŸãã
developers.line.biz
LINE Developers ãžç»é²ãã
以äžã®ããã« LINE Developers ã®ãããããŒãžã«ããã³ã³ãœãŒã«ã«ãã°ã€ã³
ãã¿ã³ãã¯ãªãã¯ããŸãã
以äžã®ããã«æ¢åã® LINEID ã§ãã°ã€ã³ããããæ°ãã LINE ã¢ã«ãŠã³ããäœæãããéžæã§ããŸããããã§ã¯ã¢ã«ãŠã³ãäœæããé²ããŸãã
ã¢ã«ãŠã³ããäœæãã¯ãªãã¯ãããšã以äžã®ç»é¢ãéããŸãã
ã¡ãŒã«ã¢ãã¬ã¹ã§ç»é²
ãã¯ãªãã¯ãããšä»¥äžã®ããã«ç»é²çšã®ã¡ãŒã«ã¢ãã¬ã¹ç»é²ãã©ãŒã ã衚瀺ãããã®ã§ã奜ããªã¡ãŒã«ã¢ãã¬ã¹ãå
¥åããŠç»é²çšã®ãªã³ã¯ãéä¿¡
ãã¯ãªãã¯ããŸãã
ãªã³ã¯ãã¯ãªãã¯ãããšã以äžã®ããŒãžãéããŸããã¢ã«ãŠã³ãçšã®ååãšãã¹ã¯ãŒããå
¥åããŠç»é²
ãã¯ãªãã¯ããŸãã
ç»é²
ãã¯ãªãã¯ãããšä»¥äžã®ããã«è¡šç€ºãããã®ã§ç¢ºèªããŠç»é²
ãã¯ãªãã¯ããŸãã
ãµãŒãã¹ã«ç§»å
ãã¯ãªãã¯ããŸãã
以äžã®ããã«ã¢ã«ãŠã³ãæ
å ±ã®å
¥åãã©ãŒã ã衚瀺ãããŸããåé
ç®ãå
¥åããŠãã¢ã«ãŠã³ãäœæ
ãã¯ãªãã¯ããŸãã
ãã㧠LINE Business ID ã®ã¢ã«ãŠã³ãäœæãš LINE Developers ã³ã³ãœãŒã«ãžã®ç»é²ãå®äºã§ãã
ãããã€ããŒãäœæãã
ããã·ã¥ããŒãã«ããæ°èŠãããã€ããŒäœæ
ãã¿ã³ãã¯ãªãã¯ãããšä»¥äžã®ãããªãã€ã¢ãã°ã衚瀺ãããŸãã
äœæ
ãã¯ãªãã¯ãããšä»¥äžã®ããã«è¡šç€ºãããŸããããã§ã¯Messaging API
ãã¯ãªãã¯ããŸãã
Messaging API
ãã¯ãªãã¯ãããšã以äžã®ããã« Messaging API çšã®ãã£ãã«äœæããŒãžãéããŸãã
ãã®ããŒãžã«å«ãŸããå ¥åé ç®ãšå 容ã¯ä»¥äžã§ãã
- ãã£ãã«ã®çš®é¡:
Messaging API
ãéžæããŸãã - ãããã€ããŒ: äœææžã¿ã®ãããã€ããŒãéžæããŸãã
- äŒç€Ÿã»äºæ¥æã®æåšåœã»å°åïŒãã® Messaging API ã䜿ãäŒç€Ÿãªã©ã®æåšå°ãéžæããŸããããã§ã¯
æ¥æ¬
ãéžæããŸãã - ãã£ãã«ã¢ã€ã³ã³: ä»»æã®ãã£ãã«ã¢ã€ã³ã³ãã¢ããããŒãããŸããããã¯åŸããã¢ããããŒããå¯èœã§ããããŒã¯ç»é¢ã«è¡šç€ºãããŸãã
- ãã£ãã«å: ä»»æã®ãã£ãã«åãå ¥åããŸãããã£ãã«åã¯ïŒæ¥éã¯å€æŽã§ããŸãããããããªã©ã§äœ¿ãå Žåã¯ãã®ååãåã ã¡ãããŒã¯ç»é¢ã«è¡šç€ºãããŸãã
- ãã£ãã«èª¬æ: ä»»æã®ãã£ãã«èª¬æãå ¥åããŸããLIFF ã¢ããªã®å Žå㯠LIFF ã¢ããªã®æš©éã®åæç»é¢ã«è¡šç€ºãããŸãã
- 倧æ¥çš®: ä»»æã®å€§æ¥çš®ãéžæããŸãã
- å°æ¥çš®: ä»»æã®å°æ¥çš®ãéžæããŸãã
- ã¡ãŒã«ã¢ãã¬ã¹: éçºè²¬ä»»è ãªã©ä»»æã®ã¡ãŒã«ã¢ãã¬ã¹ãå ¥åããŸãã
- ãã©ã€ãã·ãŒããªã·ãŒ URL: ãã©ã€ãã·ãŒããªã·ãŒã® URL ãå ¥åããŸããLIFF ã¢ããªã®æš©éã®åæç»é¢ã«è¡šç€ºãããŸãã
- ãµãŒãã¹å©çšèŠçŽ URL: å©çšèŠçŽã® URL ãå ¥åããŸããLIFF ã¢ããªã®æš©éã®åæç»é¢ã«è¡šç€ºãããŸãã
å
¥åãããæåŸã«ããŒãžæäžéšã«ããåå©çšèŠçŽãäžèªããŠåé¡ãªããã°ãã§ãã¯ãå
¥ããŠãäœæ
ãã¯ãªãã¯ããŸãã
äœæ
ãã¯ãªãã¯ãããšä»¥äžã®ããã«ç¢ºèªãã€ã¢ãã°ã衚瀺ãããŸãã
ããã«æ
å ±å©çšã«é¢ããåæã«ã€ããŠ
ãšãããã€ã¢ãã°ã衚瀺ãããã®ã§ãå
容ã確èªã®äžåé¡ãªããã°åæãã
ãã¯ãªãã¯ããŸãã
ããã«äœæå®äºãããšä»åºŠã¯LINEã€ããŒã°ã«ãŒããžã®æ
å ±æäŸã«é¢ããåå¥èŠçŽãžã®åæã«ã€ããŠ
ã衚瀺ãããã®ã§ãå
容ã確èªã®äžåé¡ãªããã°åæãã
ãã¯ãªãã¯ããŸãã
以äžã®ããã«è¡šç€ºãã㊠Messaging API ã®ãã£ãã«äœæãå®äºããŸããã
ãŸãšã
LINE Business ã¢ã«ãŠã³ããäœæã㊠LINE Developers ãžç»é²ããMessaging API ãã£ãã«ãäœæããæé ã解説ããŸããã