åºè«ïŒLINEããã¢ããªãšã¯
ãLINEããã¢ããªãã¯ãã¿ãªãããæ¯æ¥ã®ç掻ã®äžã§ãããã觊ããŠããLINEã®äžã§åäœããå°ããªã¢ããªã±ãŒã·ã§ã³ã§ããäžè¬çãªã¹ããŒããã©ã³ã®ã¢ããªã±ãŒã·ã§ã³ãšã¯ç°ãªããLINEããã¢ããªã¯ããŠã³ããŒããã€ã³ã¹ããŒã«ãäžèŠã§ãLINEã®äžã§çŽæ¥èµ·åãå©çšããããšãã§ããŸããããã«ããããŠãŒã¶ãŒã¯æ°ããã¢ããªã±ãŒã·ã§ã³ãè©Šãéã®ããŒãã«ã倧ããäžãããŸããããããLINEããã¢ããªã¯ãæ¢åã®LINEã®åéãªã¹ããããŒã¯ã«ãŒã ãšé£æºãå¯èœã§ãããã·ãŒã ã¬ã¹ãªã³ãã¥ãã±ãŒã·ã§ã³ãå¯èœãšãªã£ãŠããŸãã
ããã«LINEããã¢ããªã¯ãããžãã¹ãå人掻åã«ãšã£ãŠæ°ããªå¯èœæ§ãç§ããŠããŸããäŒæ¥ã«ãšã£ãŠã¯ãæ°ããªé¡§å®¢æ¥ç¹ãšããŠã®æŽ»çšãæåŸ ã§ããäžæ¹å人ãŠãŒã¶ãŒã«ãšã£ãŠã¯ãæ°ããäœéšããµãŒãã¹ã楜ããããã®ãã©ãããã©ãŒã ãšãªããŸããLINEããã¢ããªã®å¯èœæ§ã¯ãŸã ãŸã åºãããèŠããŠããŸããããã«ãLINEããã¢ããªã®éçºã¯æè¡çãªããŒãã«ãäœããå人ã§ãåãçµãããšãã§ããŸããããã«ãããå€ãã®äººã ãç¬èªã®ã¢ã€ãã¢ã圢ã«ããæ°ããªéãéãããŠããŸãã
ä»åã®èšäºã§ã¯ããããªLINEããã¢ããªã®ç¹åŸŽãšå©ç¹ã掻çšæ¹æ³ããããŠèªåã§äœãããã®æ¹æ³ã«ã€ããŠãããããã解説ããŸãããããŠæåŸã«ã¯ãLINEããã¢ããªéçºã®ãã³ããšå°æ¥å±æã«ã€ããŠã觊ããŠãããŸããäžç·ã«LINEããã¢ããªã®äžçãæ¢ã£ãŠãããŸãããã
第1éšïŒLINEããã¢ããªã®ç¹åŸŽãšå©ç¹
LINEããã¢ããªã®ç¹åŸŽ
LINEããã¢ããªã®æ倧ã®ç¹åŸŽã¯ãã®ååã®éããããããã§ããããšã§ãããã®ãããšããèšèããã¯ã倧å°ã§ã¯ãªããã¢ããªã±ãŒã·ã§ã³ã®è»œå¿«ããæ軜ããé£æ³ããŸããã§ã¯ãå ·äœçã«ã©ã®ãããªç¹åŸŽãããã®ã§ããããã
ãŸãäžã€ç®ã¯ãããŠã³ããŒããã€ã³ã¹ããŒã«ãäžèŠã§ããããšã§ããããã¯ãã¢ããªãè©Šãããã®ããŒãã«ã倧ããäžããŠããŸããLINEäžã§ãªã³ã¯ãã¿ããããã ãã§ã¢ããªãç«ã¡äžããããšãã§ããæ°ããã¢ããªã±ãŒã·ã§ã³ãè©Šãéã®æéãå€§å¹ ã«åæžããŸãã
äºã€ç®ã¯ãLINEãšã®å¯æ¥ãªé£æºã§ããæ¢åã®LINEã®åéãªã¹ããããŒã¯ã«ãŒã ãšã®çµ±åãå¯èœã§ãæ å ±å ±æãé£çµ¡ãäžå åãããŸããããã«ããããŠãŒã¶ãŒã¯äžã€ã®ã¢ããªã±ãŒã·ã§ã³äžã§å€æ§ãªæŽ»åãè¡ãããšãå¯èœãšãªããŸãã
äžã€ç®ã¯ãèªåã ãã®ããã¢ããªãäœæããããšãå¯èœãªéæŸæ§ã§ããäŒæ¥ãå人éçºè ã¯èªç±ã«ããã¢ããªãäœæããLINEäžã§å ¬éããããšãå¯èœã§ããããã«ãããåçš®ãµãŒãã¹ã®æäŸãæ å ±çºä¿¡ãäžå±€å®¹æã«ãªããŸãã
LINEããã¢ããªã®å©ç¹
ãããã®ç¹åŸŽãçã¿åºãå©ç¹ã¯ãäŒæ¥ã«ãšã£ãŠãå人ãŠãŒã¶ãŒã«ãšã£ãŠã倧ããªé åãšãªããŸãã
äŒæ¥ã«ãšã£ãŠã¯ãããã¢ããªãéããŠæ°ããªé¡§å®¢æ¥ç¹ãæã€ããšãã§ããŸãããŸããLINEã®é«ãå©çšçãšé£æºæ§ã«ãããæ°ããªãµãŒãã¹ãååã®æ å ±ãã¹ã ãŒãºã«äŒããããšãå¯èœã§ããããã«ããŠãŒã¶ãŒãã¢ããªãããŠã³ããŒããããšãå©çšã§ãããããæ°èŠãŠãŒã¶ãŒãžã®ã¢ãããŒãã容æãšãªããŸãã
äžæ¹ãå人ãŠãŒã¶ãŒã«ãšã£ãŠã¯ãæ°ããäœéšããµãŒãã¹ãæ軜ã«æ¥œããããã®ãã©ãããã©ãŒã ãšãªããŸãããŸããèªåèªèº«ã§ããã¢ããªãäœæããèªèº«ã®ã¢ã€ãã¢ãæ å ±ãçºä¿¡ããããã®å ŽãšããªããŸãã
ãããã®å©ç¹ã¯ãLINEããã¢ããªãããããã®ããžã¿ã«ç€ŸäŒã§å€§ããªåœ¹å²ãæããããšã瀺ããŠããŸãããŠãŒã¶ãŒã«ãšã£ãŠã¯äŸ¿å©ããšæ°ããªäœéšããäŒæ¥ã«ãšã£ãŠã¯æ°ããªããžãã¹ãã£ã³ã¹ãæäŸããŠããŸãã
æåŸã«ãããã¢ããªã®éçºã«ã¯å°éçãªããã°ã©ãã³ã°ã¹ãã«ãå¿ èŠãšãªããŸããããã®ããŒãã«ã¯æ¯èŒçäœããšèšããŸããåºæ¬çãªHTMLãCSSãJavaScriptã®ç¥èãæã£ãŠããã°ã誰ã§ãããã¢ããªã®éçºã«ææŠããããšãå¯èœã§ãããŸããéçºè ã³ãã¥ããã£ãå ¬åŒã®ããã¥ã¡ã³ããŒã·ã§ã³ãå å®ããŠãããéçºã«å¿ èŠãªæ å ±ãæ¯æŽã¯ååã«åŸãããŸãã
ããã«ãããäŒæ¥ã ãã§ãªãå人ãŠãŒã¶ãŒãèªåã®ã¢ã€ãã¢ã圢ã«ããæ©äŒãåŸãããšãã§ããããã¢ããªã¯åºç¯ã§å€æ§ãªçšéã«å¯Ÿå¿å¯èœãªãã©ãããã©ãŒã ãšãªã£ãŠããŸãã
第2éšïŒLINEããã¢ããªã®æŽ»çšæ¹æ³
ããžãã¹ã§ã®æŽ»çš
ããžãã¹ã®çŸå Žã«ãããŠããLINEããã¢ããªã®æŽ»çšæ³ã¯å€å²ã«ããããŸãããŸããããã¢ããªãéããæ°ããªé¡§å®¢æ¥ç¹ã®æ§ç¯ã¯ãåºåãããã¢ãŒã·ã§ã³ã®å¯èœæ§ãåºããŸããäŸãã°ãæ°è£œåã®ãªãªãŒã¹æ å ±ãç¬æã«å€ãã®ãŠãŒã¶ãŒã«äŒããããã®æ å ±çºä¿¡ããŒã«ãšããŠæŽ»çšããããšãã§ããŸãã
ãŸããã¯ãŒãã³ãç¹å¥ãªãªãã¡ãŒãããã¢ããªå ã§æäŸããããšã§ã顧客ã®è³Œè²·æ欲ãåŒãåºãããšãå¯èœã§ããããã«ããã販売ä¿é²ãæ°èŠé¡§å®¢ç²åŸã«å¯Ÿããæ°ããªåãçµã¿ãå¯èœãšãªããŸãã
ããã«ãããã¢ããªã¯é¡§å®¢ãšã®ã³ãã¥ãã±ãŒã·ã§ã³ããŒã«ãšããŠã掻çšã§ããŸããå ·äœçã«ã¯ã顧客ã®è³ªåã«å¯ŸããåçãæäŸããããååããµãŒãã¹ã«å¯Ÿãããã£ãŒãããã¯ãåãåãããã®çªå£ãšããŠäœ¿çšããããšãã§ããŸãã
å人ã§ã®æŽ»çš
å人ã¬ãã«ã§ã¯ãLINEããã¢ããªã¯æ å ±ã®çºä¿¡ãå ±æãæ°ããªãµãŒãã¹ã®äœéšãªã©ã«æŽ»çšã§ããŸããäŸãã°ãèªèº«ãéçºããã¢ããªã±ãŒã·ã§ã³ãå人ãç¥äººã«è©ŠããŠãããããã£ãŒãããã¯ããããããã®ããŒã«ãšããŠäœ¿ãããšãã§ããŸãã
ãŸããåã ã®ããã¢ããªã¯ç¹å®ã®æ©èœãæã€ããããã®æ©èœãå¿ èŠãªãšãã«ããã«ã¢ã¯ã»ã¹ããŠäœ¿çšããããšãå¯èœã§ããããã«ãããæéãªãç¹å®ã®ãµãŒãã¹ãå©çšã§ããããã«ãªããŸãã
ããã«ãèªåèªèº«ã§ããã¢ããªãäœæããããšã«ãããããã°ã©ãã³ã°ã®åŠç¿ãã¢ã€ãã¢ã®åœ¢ã«ããããšãå¯èœã§ããç¹ã«åŠçãããã°ã©ãã³ã°ååŠè ã«ãšã£ãŠã¯ãå®è·µçãªåŠç¿ã®å ŽãšããŠæçšã§ãããã
第3éšïŒLINEããã¢ããªã®äœãæ¹
éçºã®åæç¥è
LINEããã¢ããªã®éçºã«ã¯ãåºæ¬çãªããã°ã©ãã³ã°ç¥èãå¿ èŠã§ããç¹ã«ãJavaScriptãHTMLãCSSã®ç解ãæ±ããããŸãããããã®èšèªã¯ãŠã§ãã¢ããªã±ãŒã·ã§ã³éçºã®åºç€ãšãªããã®ã§ãLINEããã¢ããªããŠã§ãæè¡ãããŒã¹ã«äœãããŠããŸãããããã£ãŠããããã®æè¡ã«ã€ããŠã®ç解ã¯éçºã«å¿ é ãšãªããŸãã
ããã«ãREST APIã®åºæ¬çãªç解ãå¿ èŠãšãªããŸããLINEããã¢ããªã§ã¯ãåçš®æ©èœã®å®è£ ã«REST APIã䜿çšããŸããäŸãã°ããŠãŒã¶ãŒæ å ±ã®ååŸãã¡ãã»ãŒãžã®éä¿¡ãªã©ãLINEã®åçš®ãµãŒãã¹ãšé£æºããããã«ã¯APIã®å©çšãæ¬ ãããŸããã
LINEããã¢ããªã®éçºæé
ããã§ã¯ãå ·äœçãªLINEããã¢ããªã®éçºæé ã«ã€ããŠèŠãŠãããŸããããããã§ã¯ãåºæ¬çãªéçºãããŒã説æããŸãã
ãŸããLINE Developersãµã€ãã§æ°ãã«ãããã€ããŒãšãã£ã³ãã«ãäœæããŸããããã«ãããLINEã®åçš®ãµãŒãã¹ãšèªåã®ããã¢ããªãé£æºãããããšãå¯èœãšãªããŸããå ·äœçã«ã¯ãLINEãã°ã€ã³æ©èœãåã ã¡è¿œå æ©èœãã¡ãã»ãŒãžéä¿¡æ©èœãªã©ã䜿çšããããã®èšå®ãè¡ããŸãã
次ã«ãèªåã®ããŒã«ã«ç°å¢ã§éçºãè¡ããŸããéçºã«ã¯ä»»æã®ãšãã£ã¿ãIDEã䜿çšããŸããããã§ãå è¿°ããJavaScriptãHTMLãCSSãçšããŠã¢ããªã±ãŒã·ã§ã³ã®äž»èŠéšåãéçºããŸãããŸããLINEã®APIãå©çšããããã®ã³ãŒããããã§èšè¿°ããŸãã
éçºãå®äºããããLINE Developersãµã€ãã§ããã¢ããªã®ãããã€ãè¡ããŸãããããã€ã«æåãããšãLINEã¢ããªäžããã¢ã¯ã»ã¹ã§ããããã«ãªããŸããããã«ããããŠãŒã¶ãŒãããªãã®ããã¢ããªã䜿çšããããšãå¯èœãšãªããŸãã
æåŸã«ãããã¢ããªã®ãã¹ããè¡ããŸããããã¢ããªãæ£ããåäœãããã確èªããåé¡ããªããã°ãªãªãŒã¹ããŸããããã«ãããããªãã®ããã¢ããªã¯LINEã®ãŠãŒã¶ãŒå šäœã«å ¬éãããŸãã
第4éšïŒLINEããã¢ããªã®éçºã®ãã³ã
éçºã«åœ¹ç«ã€ããŒã«
ããã¢ããªã®éçºã«ã¯ãããããããŒã«ãå©çšå¯èœã§ãããç¹ã«ä»¥äžã®ããŒã«ã圹ç«ã€ã§ãããã
ãŸããIDEïŒIntegrated Development EnvironmentïŒã§ãããVisual Studio Codeãã¯ãå€ãã®éçºè ã«æçšãããŠããŸãã軜éã§ãããªãããã¯ãã«ãªãã®ãšãã£ã¿ã¯ãã·ã³ã¿ãã¯ã¹ãã€ã©ã€ããèªåã³ã³ããªãŒãããããã°æ©èœãªã©ã®æ©èœãæã£ãŠããŸãããŸããç¡æ°ã®æ¡åŒµæ©èœã«ãããããŸããŸãªããã°ã©ãã³ã°èšèªãããŒã«ã«å¯Ÿå¿ããŠããŸãã
次ã«ããPostmanãã¯ãAPIã®éçºããã¹ããç°¡åã«è¡ãããã®ããŒã«ã§ããLINEããã¢ããªã®éçºã§ã¯ãå€ãã®APIã䜿çšããŸãã®ã§ããã®ããŒã«ã¯å¿ é ãšèšããã§ããããPostmanã䜿ãã°ãAPIã®ãªã¯ãšã¹ããæ軜ã«äœæãéä¿¡ããã¹ãããããšãã§ããŸãã
æåŸã«ããGitHubãã¯ããœãŒã¹ã³ãŒãã®ããŒãžã§ã³ç®¡çãšå ±æãè¡ããã©ãããã©ãŒã ã§ããLINEããã¢ããªã®éçºã§ããGitHubã掻çšããããšã§ãããŒã å ã®ã³ãŒãã®å ±æãå€æŽã®è¿œè·¡ãããŒãžã§ã³ã®ç®¡çãåæ»ã«è¡ãããšãã§ããŸãã
éçºæã®æ³šæç¹
LINEããã¢ããªã®éçºæã«ã¯ãããã€ãã®éèŠãªç¹ã«æ³šæããå¿ èŠããããŸãããŸãäžã€ç®ã¯ããŠãŒã¶ãŒã®ãã©ã€ãã·ãŒãšããŒã¿ã»ãã¥ãªãã£ã確ä¿ããããšã§ãããŠãŒã¶ãŒã®LINE IDãã¡ãã»ãŒãžãªã©ããŠãŒã¶ãŒããåŸãããããŒã¿ã¯å³éã«ç®¡çããé©åã«ä¿è·ããå¿ èŠããããŸãã
äºã€ç®ã¯ãããã¢ããªãLINEã®åçš®ã¬ã€ãã©ã€ã³ãéµå®ããããšã§ããLINEã¯ããã¢ããªã®éçºã¬ã€ãã©ã€ã³ãå ¬éããŠããããããéµå®ããªããã°ãã¢ããªãå ¬éãããªãå¯èœæ§ããããŸãããããã£ãŠãã¬ã€ãã©ã€ã³ã確èªããèªåã®ããã¢ããªãããã«é©åããŠããããåžžã«ãã§ãã¯ããå¿ èŠããããŸãã
æåŸã«ãããã¢ããªããŠãŒã¶ãŒã«ãšã£ãŠäŸ¿å©ã§ããããšãå¿ãããããšã§ãããŠãŒã¶ãŒãããã¢ããªãå©çšããäž»ãªçç±ã¯ã䟿å©ããšã·ãŒã ã¬ã¹ãªäœéšã§ãããã®ããããŠãŒã¶ãŒã®ããŒãºãæºããã䜿ããããã€ã³ã¿ãŒãã§ãŒã¹ãèšèšããããšãéèŠãšãªããŸãã
第5éšïŒLINEããã¢ããªã®å°æ¥å±æ
æ¥çã®åå
ãã¯ãããžãŒæ¥çã¯æ¥ã å€åããŠããŸãããããã¢ããªã®ãã¬ã³ãã¯æŽãªãé²åãšæ®åãäºæž¬ãããŠããŸããLINEããã¢ããªã¯ããã®ãã€ãªãã¢çãªååšãšããŠæ³šç®ã济ã³ãŠããŸããããã¢ããªã®ãŠãŒã¹ã±ãŒã¹ã¯ç¡éã§ãããããžãã¹ãã·ã§ããã³ã°ããšã³ã¿ãŒãã€ã¡ã³ããåŠç¿ãå¥åº·ç®¡çãªã©ãããããåéã§ã®æ¡çšãäºæ³ãããŸãããŸãã人工ç¥èœãæ©æ¢°åŠç¿ãšãã£ãå é²çãªãã¯ãããžãŒãšã®èåãèŠèŸŒãŸããããã«ããããã¢ããªã¯ããããŒãœãã©ã€ãºãããå¹ççãªãã®ãšãªãã§ãããã
äžæ¹ãæ¥çå šäœãšããŠã¯ãããã¢ããªã®æšæºåãšèŠå¶ãé²è¡äžã§ããããã«ãããããã¢ããªã®éçºãšé åžã¯ããäžè²«æ§ãæã¡ãã»ãã¥ãªãã£ã匷åãããããšãäºæ³ãããŸããããããæ°ããªèŠå¶ã¯åæã«ãéçºè ã«å¯ŸããŠæ°ããªèª²é¡ãæèµ·ããããšããããŸãããããã®ååãææ¡ããŠããããšã¯ãéçºè ã«ãšã£ãŠéåžžã«éèŠã§ãã
æªæ¥ã®å¯èœæ§
LINEããã¢ããªã®å°æ¥çãªå¯èœæ§ã¯ããã®æ©èœãšå©äŸ¿æ§ã«ãã£ãŠå€§ãã«éãããŠããŸããããå€ãã®ããžãã¹ãããã¢ããªãžãšã·ããããç©ççãªåºèããŠã§ããµã€ããè£å®ãŸãã¯çœ®ãæããå¯èœæ§ããããŸãããŸããããã¢ããªã¯æ°ããªã³ãã¥ãã±ãŒã·ã§ã³ãã£ãã«ãšããŠãæ©èœããäŒæ¥ãšé¡§å®¢ãšã®é¢ä¿ãæ·±ãã圹å²ãæããã§ãããã
ãŸããLINEããã¢ããªã®ãã¯ãããžãŒèªäœãé²åãç¶ããŸããäŸãã°ãARïŒæ¡åŒµçŸå®ïŒãVRïŒä»®æ³çŸå®ïŒãšãã£ãæ°ãããã¯ãããžãŒã®æ¡çšãæåŸ ãããŸãããããã®ãã¯ãããžãŒã«ãããããã¢ããªã¯ãŠãŒã¶ãŒã«å¯ŸããŠãããªããã§æ²¡å ¥æã®ããäœéšãæäŸããããšãå¯èœãšãªããŸãããŸãããããã¯ãã§ãŒã³æè¡ã®æ¡çšã«ãããããã¢ããªã¯ããžã¿ã«è³ç£ã®ååŒãåæ£åã¢ããªã±ãŒã·ã§ã³ã®ãã©ãããã©ãŒã ãšããŠã®åœ¹å²ãæããå¯èœæ§ããããŸãã
ããããããããæªæ¥ã®å¯èœæ§ãè¿œæ±ããããã«ã¯ãéçºè èªèº«ãææ°ã®æè¡ãã¬ã³ããç解ãããã®æè¡ãé©åã«æŽ»çšããèœåãæ±ããããŸãããã®ãããéçºè ã¯åžžã«åŠç¿ãšæé·ãç¶ããããšãéèŠã§ãã
çµè«ïŒLINEããã¢ããªãžã®äžæ©
ããªãã次ã«è¡ãã¹ãããš
ãã®èšäºãèªãã§ããããªãã¯ãæããLINEããã¢ããªã®å¯èœæ§ãç解ãããã®æŽ»çšãèããŠããããšã§ãããããã®äžæ©ãšããŠããŸãã¯èªèº«ãã©ã®ããã«ããã¢ããªã掻çšã§ãããèããŠã¿ãŠãã ãããããžãã¹ã®æ°ããªæé·æ©äŒãæ¢ããŠããã®ã§ããã°ãããã¢ããªãæäŸãã顧客ãšã³ã²ãŒãžã¡ã³ãã®æ°ããªãã£ãã«ããç¬èªã®ãµãŒãã¹ãå±éãããã©ãããã©ãŒã ãšããŠã®å¯èœæ§ãèããŠã¿ãŸããããå人ãšããŠã¯ãèªåèªèº«ã®ã¹ãã«ã»ãããæ¡å€§ããããã®æ°ããªåŠç¿ã®æ©äŒãšæããããšãã§ããŸãã
次ã«ãåºæ¬çãªåæç¥èã®ç¿åŸã«åãçµãã§ã¿ãŠãã ãããHTMLãCSSãJavaScriptã®åºæ¬ãæŒãããæŽã«LINEããã¢ããªç¹æã®ç¥èãæ·±ããããšãéèŠã§ãããããŠããã®ç¥èã掻ãããŠããã¢ããªã®éçºã«åãçµãã§ã¿ãŠãã ãããæåã¯ç°¡åãªãã®ããå§ããŠãåŸã ã«æ©èœãæ¡åŒµããŠããããšã§ãçµéšãç©ã¿äžããããšãã§ããŸãã
ãããŠæåŸã«ãæè¡ã®é²åãšæ¥çã®ãã¬ã³ããåžžã«ãã§ãã¯ããããšãå¿ããªãã§ãã ãããããã¢ããªã¯ãŸã ãŸã çºå±éäžã®æè¡ã§ããããã®å¯èœæ§ã¯ç¡é倧ã§ããåžžã«æ°ããç¥èãç²åŸããæè¡ã®é²åã«å¯Ÿå¿ããããšã§ãããªãèªèº«ã®ã¹ãã«ãšããžãã¹ã®äŸ¡å€ãæ倧åããããšãã§ããã§ãããã
ãã®å ãLINEããã¢ããªã®äžçã¯æŽã«åºãããèŠããããšã§ããããããã¯æ°ããªããžãã¹ã®ãã£ã³ã¹ã§ããããããŠæ°ããªäŸ¡å€åµé ã®æ©äŒã§ããããŸãããããæããããã«ãããªãã®æ¬¡ã®äžæ©ãéèŠãšãªããŸããããã¢ããªã®äžçãžã®äžæ©ããä»ãèžã¿åºããŠã¿ãŠã¯ãããã§ããããããããŠãã®äžæ©ããæªæ¥ã®ããªãèªèº«ãããªãã®ããžãã¹ã«ãšã£ãŠæ°ããªäŸ¡å€ãçã¿åºããã£ãããšãªãããšãæåŸ ããŠããŸãã