Upgrade to Pro — share decks privately, control downloads, hide ads and more …

はじめてのLINE BOT作成

はじめてのLINE BOT作成

wip

Dae1d4cc4599a65a5da6e1a1f9d96f05?s=128

n0bisuke

May 13, 2017
Tweet

Transcript

  1. !OCJTVLF ͸͡Ίͯͷ-*/&#05࡞੒ߨ࠲ JOୌ୔

  2. ߨࢣࣗݾ঺հ ɾੁݪͷͼ͚͢ ɾEPUTUVEJPגࣜձࣾ୅දऔక໾ࣾ௕ ɾؠखݝཱେֶιϑτ΢ΣΞ৘ใֶ෦ଔ ɾגࣜձࣾ-*(Ͱ8FCΤϯδχΞ৽نࣄۀ੹೚ऀΛܦ ݧͨ͠ޙىۀ ɾ*P5ྖҬɺ%FW3FMྖҬ ɾࠃ಺࠷େن໛ͷ*P5ίϛϡχςΟ*P5-5ͷओ࠵ऀ ɾڞஶॻ 

    ʮϑϩϯτΤϯυΤϯδχΞͷͨΊͷݱࡏͱ͜Ε͔Βͷඞਢ஌ࣝʯ  ʮ+BWB4DSJQUͰΠϯλϥΫςΟϒ%ίϯςϯπΛ࡞Ζ͏ʯ  ʮݱ৔ͷϓϩ͕ڭ͑Δ8&#σβΠϯ৽ɾελϯμʔυςΫχοΫʯ
  3. ߨࢣࣗݾ঺հ

  4. EPUTUVEJP JOD ʮϞϊͮ͘ΓͰ͖ΔਓΛ૿΍͍ͨ͠ʯͱ͍͏૝͍ͷ΋ͱɺ *P5ྖҬΛத৺ʹ։ൃ΍ڭҭΛߦ͍ͬͯ·͢ɻ

  5. ڭҭ޲͚σόΠεͷ։ൃ ʲ"OESPJEʷ*P5ʳ"OESPJE୺຤ʹ௚ૠ ͠Ͱ͖Δ։ൃϘʔυ8B⒐F͸Ϋϥ΢υ ϑΝϯσΟϯάͰୡ੒ͯ͠ɺݱ ࡏൃૹؒࡍͰ͢ɻ ֤छϋϯζΦϯͷ࣮ࢪ ࢠڙ޲͚υϩʔϯڭࣨ΍*P5Y-&(0ϫʔ Ϋγϣοϓɺ༷ʑͳηϯαʔΛ࢖ͬ ͨϋϯζΦϯηϛφʔͳͲΛ࣮ࢪͯ͠ ͍·͢ɻ

  6. ओཁऔҾઌ

  7. ओཁऔҾઌ

  8. -*/&#05ʹೖΔલʹ

  9. νϟοτϓϥοτϑΥʔϜͬͯ ɾϦΞ ϧλΠϜʹಛఆͷਓͱςΩετϝο ηʔδͰձ࿩Λ͢ΔγεςϜ ɾ'BDFCPPL.FTTBOHFS 5XJUUFS -*/&  4OBQDIBU ΧΧΦτʔΫ

    4MBDLͳͲ
  10. $IBUCPUʢνϟοτϘοτʣͱ͸ ɾνϟοτϓϥοτϗʔϜ্Ͱ ಈ͘ϓϩάϥϜ ɾձ࿩Λͨ͠ΓɺΞγελϯτ Λͨ͠Γͯ͘͠ΕΔ ɾ"QQMFͷ4JSJCͳͲ΋νϟοτ ϘοτͷҰͭ ɾུͯ͠#PU Ϙοτ ͱ΋ݴ͏

  11. $IBUCPU৭ʑ ɾ.FTTBOHFS#PU 'BDFCPPL.FTTBOHFS্Ͱಈ࡞͢Δ#PU ɾ4MBDL#PU 4MBDL্Ͱಈ࡞͢Δ#PU ɾ5XJUUFS#PU 5XJUUFS্Ͱಈ࡞͢Δ#PU ɾ-*/&#PU -*/&্Ͱಈ࡞͢Δ#PU

  12. -*/&#05ͱ͸

  13. -*/&#05ͱ͸ ɾ-*/&্Ͱಈ࡞͢Δ#05 ɾ༷ʑͳϓϩάϥϜͱ࿈ܞͤ͞Δ͜ͱ͕Ͱ͖Δ ɾ-*/&ΞϓϦΛΠϯλϑΣΠεʹͰ͖Δ ɾ-*/&ࣗମͷϢʔβʔ਺͕ଟ͍͜ͱͰɺ௥Ճ ͰΞϓϦΠϯετʔϧ͕΄΅ෆཁͳ͜ͱ͕ར఺ ɾ͍·࿩୊ͷٕज़ྖҬ

  14. -*/&#05ͷࣄྫ CZΈͣ΄ۜߦ -*/&Ͱޱ࠲࢒ߴ͕෼͔Δ -*/&#05 -*/&Ͱग़લͷ஫จ͕Ͱ͖ Δ-*/&#05 CZग़લؗ

  15. ϠϚτӡ༌ͷෆࡏ௨஌-*/&#05

  16. IUUQTXXXZPVUVCFDPNXBUDI W$;V[+FZ

  17. -*/&#05"8"3%4

  18. -*/&#05"8"3%4 ɾ༏উ৆ۚສԁ  ֶੜ৆ສԁ ɾࠓ೥͕ॳͷऔΓ૊Έ ɾʹܾউ͕ߦΘΕͨ ༏উ࡞඼͸໨΍ࣖͷෆࣗ༝ͳਓͳͲΛ#FBDPOͱ DIBUCPUͰαϙʔτ͢Δʮˍ)"/%ʢΞϯυϋϯυʣʯ

  19. ˞EPUTUVEJP͸ڠྗύʔτφʔ ŪƄźο

  20. -*/&.FTTBHJOH"1*

  21. -*/&.FTTBHJOH"1* ˺-*/&#PUΛ࡞ΔͨΊͷ࢓૊Έ "1* ΞϓϦέʔγϣϯϓϩάϥϛϯάΠϯλϑΣʔε

  22. None
  23. -*/&#05Λ࡞ͬͯΈΑ͏ʂ

  24. ࠓ೔࢖͏΋ͷ ɾ(PPHMF$ISPNF ɾ7JTVBM4UVEJP$PEF ɾOHSPL ɾ/PEFKT ɾ(JU ϓϩάϥϛϯά։ൃ؀ڥ४උฤ

  25. ΞΧ΢ϯτ४උฤ IUUQRJJUBDPNOCJTVLFQSJWBUF EFEBC ϋϩʔϫʔϧυฤ IUUQRJJUBDPNOCJTVLFQSJWBUF CFED

  26. ΞΧ΢ϯτ४උฤ IUUQRJJUBDPNOCJTVLFQSJWBUF EFEBC ϋϩʔϫʔϧυฤ IUUQRJJUBDPNOCJTVLFQSJWBUF CFED

  27. ֬ೝ͜͜·ͰͰ͓͏Ήฦ͠#05͕Ͱ͖͍ͯ·͢

  28. ӡߦ৘ใ#05GPS*(3 ࡞Δ΋ͷ ɾ*(3͕௨ৗӡߦ͍ͯ͠Δ͔Λڭ͑ͯ͘ΕΔ ஗ΕͯΔΑʙ ௨ৗӡߦͩΑʔ

  29. ӡߦ৘ใ#05GPS*(3 ࡞Δ΋ͷ ɾ*(3͕௨ৗӡߦ͍ͯ͠Δ͔Λڭ͑ͯ͘ΕΔ

  30. ࡞Γํ ᶃ*(3ͷαΠτ͔Β৘ใΛൈ͖ग़ͯ͠ ᶄ-*/&#05ʹͭͳ͛Δ ᶃ ᶄ

  31. *(3εΫϨΠϐϯάฤ IUUQRJJUBDPNOCJTVLFQSJWBUF CGBCGEF ݁߹ฤ IUUQRJJUBDPNOCJTVLFQSJWBUF ECCDDEGGD

  32. *(3εΫϨΠϐϯάฤ IUUQRJJUBDPNOCJTVLFQSJWBUF CGBCGEF ݁߹ฤ IUUQRJJUBDPNOCJTVLFQSJWBUF ECCDDEGGD

  33. ૣ͘ऴΘͬͯ͠·ͬͨਓ͸ νϟϨϯδͯ͠ΈΑ͏ɻ ϗεςΟϯάฤ IUUQRJJUBDPNOCJTVLFQSJWBUF DGDCCFBBE ࣗ෼ͰΦϦδφϧͷ-*/&#05΋࡞ͬͯΈ·͠ΐ͏ɻ

  34. ·ͱΊ ɾ-*/&#05΍#05ࣗମͷ֓ཁ ɾࣄྫ঺հɺ.FTTBHJOH"1*ͷ঺հ ɾ࣮ࡍʹ-*/&#05ͷ࡞੒  /PEFKTͷར༻  OHSPLͷར༻  Φ΢Ϝฦ͠#05

     εΫϨΠϐϯά  *(3஗Ԇ৘ใ#05  ϗεςΟϯά
  35. ऴΘΓʹ ɾ$IBUCPU͸ΞϓϦ΍8FCαΠτͱฒΜ ͰओྲྀʹͳΓͭͭ͋Δ ɾ$IBUCPUࣗମ͸ͨͩͷΠϯλʔϑΣΠε ͳͷͰ*P5ػցֶशͳͲͱͷ૬ੑ΋ྑ͍ ɾ-*/&#05ʹ΋*P5޲͚ͷػೳ΋͋Δ ɾࣗ෼ͨͪͰ΋ΞϓϦΛ࡞ͬͯສԁ ૂͬͯΈ·͠ΐ͏ʂ ɾؠखݝཱେֶͷιϑτ΢ΣΞ৘ใֶ෦ ͓͢͢ΊͩΑ