{"id":52556,"date":"2017-06-30T10:00:53","date_gmt":"2017-06-30T01:00:53","guid":{"rendered":"https:\/\/codeiq.jp\/magazine\/?p=52556"},"modified":"2018-10-11T13:50:21","modified_gmt":"2018-10-11T04:50:21","slug":"20170630_t21_iq","status":"publish","type":"post","link":"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/","title":{"rendered":"Azure Web Apps\u3068Node.js\u3067\u4f5c\u308b\u96fb\u8eca\u904b\u884c\u72b6\u6cc1\u901a\u77e5\u2500\u2500LINE Bot(4) \/ LINE Bot\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b"},"content":{"rendered":"<p>WS\u3084Azure\u3092\u59cb\u3081\u305f\u3068\u3057\u305f\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d3\u30b9\u5168\u822c\u3092\u89e6\u3063\u3066\u3044\u304f\u9023\u8f09\u300c\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d3\u30b9\u7814\u7a76\u30b9\u30bf\u30b8\u30aa\u300d\u3002\u3053\u306e\u9023\u8f09\u3067\u306f\u3001IaaS,PaaS,BaaS,SaaS\u306a\u3069\u5e45\u5e83\u3044\u5f62\u614b\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u5b9f\u969b\u306b\u4f7f\u3063\u3066\u30ec\u30dd\u30fc\u30c8\u3057\u3066\u3044\u304d\u307e\u3059\uff01<\/p>\n<h2>\u4eca\u56de\u4f5c\u308b\u3082\u306e<\/h2>\n<p>\u3053\u3093\u306b\u3061\u306f\u3001<a href=\"https:\/\/dotstud.io\/\" target=\"_blank\">dotstudio\u682a\u5f0f\u4f1a\u793e<\/a>\u306e<a href=\"https:\/\/twitter.com\/n0bisuke\" target=\"_blank\">\u306e\u3073\u3059\u3051<\/a>\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306fAzure Web Apps\u3092\u4f7f\u3063\u3066\u96fb\u8eca\u904b\u884c\u72b6\u6cc1\u3092\u77e5\u3089\u305b\u3066\u304f\u308c\u308bLINE Bot\u3092\u4f5c\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u5148\u306b\u5b8c\u6210\u30a4\u30e1\u30fc\u30b8\u306eLINE Bot\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u767b\u9332\u3057\u305f\u96fb\u8eca\u306e\u9045\u5ef6\u60c5\u5831\u304c\u3042\u308c\u3070LINE Bot\u304c\u6559\u3048\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_001.jpg\" alt=\"\" width=\"379\" height=\"628\" class=\"alignnone size-full wp-image-68848\" srcset=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_001.jpg 379w, https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_001-181x300.jpg 181w\" sizes=\"auto, (max-width: 379px) 100vw, 379px\" \/><\/p>\n<p>Bot\u30d7\u30ed\u30b0\u30e9\u30e0\u306fNode.js\u3067\u4f5c\u6210\u3057\u3001Azure Web Apps\u306b\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u3057\u3066\u904b\u7528\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/codeiq.jp\/magazine\/2016\/12\/48413\/\" target=\"_blank\">Azure Web Apps\u306e\u8a2d\u5b9a<\/a><\/li>\n<li><a href=\"https:\/\/codeiq.jp\/magazine\/2017\/06\/52496\/\" target=\"_blank\">\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u4f5c\u6210<\/a><\/li>\n<li><a href=\"https:\/\/codeiq.jp\/magazine\/2017\/06\/52514\/\" target=\"_blank\">LINE\u3068\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u9023\u643a\u3092\u8a66\u3059<\/a><\/li>\n<li>LINE Bot\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b<\/li>\n<\/ul>\n<p>\u306e\u56db\u90e8\u69cb\u6210\u3067\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u6700\u7d42\u56de\u306e\u4eca\u56de\u306f\u3001<a href=\"https:\/\/next.rikunabi.com\/journal\/20170629_t21_iq\/\" target=\"_blank\">\u524d\u56de<\/a>LINE\u4e0a\u3067\u8a66\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092Azure Web Apps\u306b\u30c7\u30d7\u30ed\u30a4\u3057\u3066\u3044\u3088\u3044\u3088\u5b9f\u7a3c\u50cd\u3067\u304d\u308b\u3068\u3053\u308d\u307e\u3067\u3084\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<div id=\"custom_html-20\"  data-animation-event=\"enters\"  class=\"widget_text widget widget-container widget_custom_html\"><div class=\"textwidget custom-html-widget\"><div class=\"tk_jobsearch\">\n<div class=\"tk_jobsearch_button\">\n<p class=\"single-button-lead\">8,568\u901a\u308a\u3001\u3042\u306a\u305f\u306f\u3069\u306e\u30bf\u30a4\u30d7\uff1f<\/p>\n<p class=\"single-button-link\"><a href=\"https:\/\/next.rikunabi.com\/journal\/goodpoint-shindan\/?cminr=rnnj-goodpoint-secondbutton\" rel=\"noopener noreferrer\">\u30b0\u30c3\u30c9\u30dd\u30a4\u30f3\u30c8\u8a3a\u65ad<\/a><\/p>\n<\/div>\n<\/div>\n<\/div><\/div><h2>Azure Web Apps\u3078\u306e\u30c7\u30d7\u30ed\u30a4\u306e\u6d41\u308c<\/h2>\n<p>\u300cWeb Apps\u300d\u306fAzure\u304c\u63d0\u4f9b\u3059\u308bPaaS\u3067\u3059\u3002\u8a73\u7d30\u3084\u57fa\u672c\u7684\u306a\u624b\u9806\u306f\u7b2c\u4e00\u56de\u306e\u300cAzure Web Apps\u306e\u8a2d\u5b9a\u300d\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u4eca\u56de\u306fLinux\u7248\uff08App Service on Linux\uff09\u306b\u3001GitHub\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f7f\u3063\u3066\u30c7\u30d7\u30ed\u30a4\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<div id=\"custom_html-21\"  data-animation-event=\"enters\"  class=\"widget_text widget widget-container widget_custom_html\"><div class=\"textwidget custom-html-widget\"><div class=\"tk_jobsearch\">\n<div class=\"tk_jobsearch_button\">\n<p class=\"single-button-lead\">8,568\u901a\u308a\u3001\u3042\u306a\u305f\u306f\u3069\u306e\u30bf\u30a4\u30d7\uff1f<\/p>\n<p class=\"single-button-link\"><a href=\"https:\/\/next.rikunabi.com\/journal\/goodpoint-shindan\/?cminr=rnnj-goodpoint-thirdbutton\" rel=\"noopener noreferrer\">\u30b0\u30c3\u30c9\u30dd\u30a4\u30f3\u30c8\u8a3a\u65ad<\/a><\/p>\n<\/div>\n<\/div>\n<\/div><\/div><h2>GitHub\u306b\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3059\u308b<\/h2>\n<p>\u307e\u305a\u306fGitHub\u306b\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u300cNew Repository\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_002.jpg\" alt=\"\" width=\"640\" height=\"293\" class=\"alignnone size-full wp-image-68849\" srcset=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_002.jpg 640w, https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_002-300x137.jpg 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u4efb\u610f\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u540d\u3092\u8a18\u5165\u3057\u3001\u300cCreate Repository\u300d\u3067\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_003.jpg\" alt=\"\" width=\"640\" height=\"538\" class=\"alignnone size-full wp-image-68850\" srcset=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_003.jpg 640w, https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_003-300x252.jpg 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u8868\u793a\u3055\u308c\u308bSSH\u306e\u30a2\u30c9\u30ec\u30b9\u3092\u30b3\u30d4\u30fc\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_004.jpg\" alt=\"\" width=\"640\" height=\"85\" class=\"alignnone size-full wp-image-68851\" srcset=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_004.jpg 640w, https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_004-300x40.jpg 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u7d9a\u3044\u3066Azure Web Apps\u5074\u306e\u4f5c\u696d\u306b\u79fb\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u5909\u66f4\u3059\u308b<\/h2>\n<p>\u7b2c\u4e00\u56de\u306e\u300cAzure Web Apps\u306e\u8a2d\u5b9a\u300d\u3067\u4f5c\u3063\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u300cnode.js_hello_world\u300d\u304b\u3089\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<p>\u300c\u30c7\u30d7\u30ed\u30a4\u30aa\u30d7\u30b7\u30e7\u30f3\u300d\u3067\u300c\u5207\u65ad\u300d\u3092\u9078\u629e\u3057\u3001\u30bd\u30fc\u30b9\u7ba1\u7406\u3092\u5207\u65ad\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_005.jpg\" alt=\"\" width=\"640\" height=\"199\" class=\"alignnone size-full wp-image-68852\" srcset=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_005.jpg 640w, https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_005-300x93.jpg 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u5207\u65ad\u3057\u305f\u3089\u3001\u518d\u5ea6\u5148\u307b\u3069\u4f5c\u6210\u3057\u305f\u300clinebot-sample\u300d\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>Azure Web Apps\u306b\u74b0\u5883\u5909\u6570\u3092\u4f5c\u6210<\/h2>\n<p>\u300c\u8a2d\u5b9a>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u8a2d\u5b9a>\u30a2\u30d7\u30ea\u8a2d\u5b9a\u300d\u3092\u9078\u629e\u3057\u74b0\u5883\u5909\u6570\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u30ad\u30fc\u306b\u306f\u4efb\u610f\u306e\u5909\u6570\u540d\u3001\u5024\u306b\u306f\u305d\u308c\u305e\u308c\u306eToken\u3084Secret Key\u3092\u8cbc\u308a\u4ed8\u3051\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_006.jpg\" alt=\"\" width=\"640\" height=\"290\" class=\"alignnone size-full wp-image-68853\" srcset=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_006.jpg 640w, https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_006-300x136.jpg 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<h2>\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u8ffd\u52a0\u30fb\u4fee\u6b63\u3059\u308b<\/h2>\n<p>\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u524d\u306b\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u3044\u304f\u3064\u304b\u8ffd\u52a0\u30fb\u4fee\u6b63\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u5148\u307b\u3069\u30b9\u30bf\u30fc\u30c8\u30a2\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u306b\u6307\u5b9a\u3057\u305f<code>process.json<\/code>\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><code>process.json\r\n{\r\n   \"name\"        : \"worker\",\r\n   \"script\"      : \".\/server.js\",\r\n   \"instances\"   : 1,\r\n   \"merge_logs\"  : true,\r\n   \"log_date_format\" : \"YYYY-MM-DD HH:mm Z\",\r\n   \"watch\": [\".\/server.js\"],\r\n   \"watch_options\": {\r\n     \"followSymlinks\": true,\r\n     \"usePolling\"   : true,\r\n     \"interval\"    : 5\r\n   }\r\n}\r\n<\/code><\/pre>\n<p><code>package.json<\/code>\u30d5\u30a1\u30a4\u30eb\u306f\u5fc5\u8981\u306a\u30e2\u30b8\u30e5\u30fc\u30eb\u3068Node.js\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u6b63\u3057\u304f\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><code>package.json\r\n{\r\n  \"name\": \"linebot-sample\",\r\n  \"version\": \"1.0.0\",\r\n  \"description\": \"\",\r\n  \"main\": \".\/server.js\",\r\n  \"scripts\": {\r\n    \"test\": \"echo \\\"Error: no test specified\\\" &amp;&amp; exit 1\"\r\n  },\r\n  \"keywords\": [],\r\n  \"author\": \"\",\r\n  \"license\": \"ISC\",\r\n  \"dependencies\": {\r\n    \"twitter\": \"^1.7.0\"\r\n  },\r\n  \"engines\":{\r\n    \"node\": \"6.6.0\"\r\n  }\r\n}\r\n<\/code><\/pre>\n<p>Node.js\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fAzure Web Apps\u4e0a\u3067\u9078\u629e\u3057\u305fv6.6.0\u3092\u6307\u5b9a\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u73fe\u6642\u70b9\u306eNode.js\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306fv8.1.2\u3067\u3059\u304c\u3001Azure App Service on Linux\u304cNode.js\u306e\u6700\u65b0\u7248\u306b\u307e\u3060\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u305f\u3081\u3001v6.6.0\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><code>.gitignore<\/code>\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre><code>node_modules\/\r\n.DS_Store\r\n<\/code><\/pre>\n<p><code>server.js<\/code>\u30d5\u30a1\u30a4\u30eb\u306f\u74b0\u5883\u5909\u6570\u304b\u3089\u5404\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u547c\u3076\u3088\u3046\u5909\u66f4\u3057\u307e\u3057\u3087\u3046\u3002\u30dd\u30fc\u30c8\u6307\u5b9a\u90e8\u5206\u3082\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u5024\u3092\u5909\u3048\u308b\u3088\u3046\u4fee\u6b63\u3057\u307e\u3059\u3002<\/p>\n<pre><code>server.js\r\n'use strict';\r\n\r\nconst http = require('http');\r\nconst https = require('https');\r\nconst crypto = require('crypto');\r\nconst Twitter = require('twitter');\r\nconst tw = new Twitter({\r\n\/\/ 4\u3064\u306e\u30ad\u30fc\u306e\u6307\u5b9a\r\n  consumer_key: process.env.CONSUMER_KEY, \/\/ Consumer Key\r\n  consumer_secret: process.env.CONSUMER_SECRET, \/\/ Consumer Secret\r\n  access_token_key: process.env.ACCESS_TOKEN_KEY, \/\/ Access Token\r\n  access_token_secret: process.env.ACCESS_TOKEN_SECRET \/\/ Access Token Secret\r\n});\r\nconst TARGET_HASHTAG = '#TrainDelay';\r\n\r\nconst HOST = 'api.line.me';\r\nconst CH_SECRET = process.env.LINE_CH_SECRET; \/\/ Channel Secret\r\nconst CH_ACCESS_TOKEN = process.env.LINE_CH_ACCESS_TOKEN; \/\/ Channel Access Token\r\nconst USER_ID = process.env.LINE_USER_ID;\/\/ Your userId\r\nconst PUSH_PATH = '\/v2\/bot\/message\/multicast';\r\nconst SIGNATURE = crypto.createHmac('sha256', CH_SECRET);\r\nconst PORT = process.env.PORT || 3000; \/\/ ||\u3067\u6761\u4ef6\u5206\u5c90\r\n\r\nconst pushClient = (userId, SendMessageObject) =&gt; {\r\n    let postDataStr = JSON.stringify({ to: userId, messages: SendMessageObject });\r\n    let options = {\r\n        host: HOST,\r\n        port: 443,\r\n        path: PUSH_PATH,\r\n        method: 'POST',\r\n        headers: {\r\n            'Content-Type': 'application\/json; charset=UTF-8',\r\n            'X-Line-Signature': SIGNATURE,\r\n            'Authorization': `Bearer ${CH_ACCESS_TOKEN}`,\r\n            'Content-Length': Buffer.byteLength(postDataStr)\r\n        }\r\n    };\r\n\r\n    return new Promise((resolve, reject) =&gt; {\r\n        let req = https.request(options, (res) =&gt; {\r\n                    let body = '';\r\n                    res.setEncoding('utf8');\r\n                    res.on('data', (chunk) =&gt; {\r\n                        body += chunk;\r\n                    });\r\n                    res.on('end', () =&gt; {\r\n                        resolve(body);\r\n                    });\r\n        });\r\n\r\n        req.on('error', (e) =&gt; {\r\n            reject(e);\r\n        });\r\n        req.write(postDataStr);\r\n        req.end();\r\n    });\r\n};\r\n\r\ntw.stream('statuses\/filter', {'track': TARGET_HASHTAG}, (stream) =&gt; {\r\n  stream.on('data', (data) =&gt; {\r\n    if (data.text.indexOf('\u4e0a\u91ce\u6771\u4eac\u30e9\u30a4\u30f3') !== -1) {\r\n        let PushSendMessageObject = [{\r\n          type: 'text',\r\n          text: data.text\r\n        }];\r\n\r\n        pushClient([USER_ID], PushSendMessageObject)\r\n          .then((body) =&gt; {\r\n            console.log(body);\r\n          }, (e) =&gt; {console.log(e)});\r\n\r\n        console.log(data.text);\r\n    }\r\n  });\r\n});\r\n<\/code><\/pre>\n<p><code>process.env.<\/code>\u5909\u6570\u540d\u3067\u74b0\u5883\u5909\u6570\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0a\u3092\u3001\u5148\u307b\u3069\u4f5c\u6210\u3057\u305fGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30d7\u30c3\u30b7\u30e5\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30b3\u30fc\u30eb\u30d0\u30c3\u30afURL\u3092\u5909\u66f4<\/h2>\n<p>LINE developers\u306e\u753b\u9762\u4e0b\u90e8\u306e \u300cEDIT\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_007.jpg\" alt=\"\" width=\"640\" height=\"625\" class=\"alignnone size-full wp-image-68854\" srcset=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_007.jpg 640w, https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_007-300x293.jpg 300w, https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_007-60x60.jpg 60w, https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_007-50x50.jpg 50w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>Webhook URL\u306bAzure\u306b<code>https:\/\/\u30a2\u30d7\u30ea\u540d.azurewebsites.net\/<\/code>\u3092\u8a18\u5165\u3057\u307e\u3057\u3087\u3046\u3002<code>VERIFY<\/code>\u3092\u62bc\u3057\u3066\u3001<code>Success<\/code>\u3068\u8868\u793a\u3055\u308c\u308c\u3070\u554f\u984c\u306a\u304f\u52d5\u4f5c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067push\u901a\u77e5\u3092\u53d7\u3051\u53d6\u308b\u6e96\u5099\u306f\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<h2>\u78ba\u8a8d\u3057\u3066\u307f\u308b<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_008.jpg\" alt=\"\" width=\"360\" height=\"640\" class=\"alignnone size-full wp-image-68855\" srcset=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_008.jpg 360w, https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_008-169x300.jpg 169w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/p>\n<p>\u6307\u5b9a\u3057\u305f\u9045\u5ef6\u60c5\u5831\u306e\u3064\u3076\u3084\u304d\u304c\u3042\u308b\u3068\u3001\u3053\u3093\u306a\u611f\u3058\u3067LINE\u901a\u77e5\u304c\u6765\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001\u4eca\u56de\u5229\u7528\u3057\u305fPushAPI\u306f\u30d7\u30e9\u30f3\u304cDeveloper Trial\u306e\u5834\u5408\u306f\u7121\u6599\u3067\u5229\u7528\u3067\u304d\u307e\u3059\u304c\u3001Developer Trial\u3067\u306fBot\u306e\u53cb\u9054\u6570\u304c50\u4eba\u307e\u3067\u3068\u5236\u9650\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u500b\u4eba\u3084\u5c11\u4eba\u6570\u30b0\u30eb\u30fc\u30d7\u3067\u306e\u5229\u7528\u3067\u8a66\u3059\u969b\u306b\u306f\u5341\u5206\u3067\u3059\u304c\u3001\u5b9f\u904b\u7528\u3092\u3059\u308b\u969b\u306b\u306f\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u73fe\u6642\u70b9\u3067\u306f\u5b9f\u904b\u7528\u3067\u8a66\u3059\u969b\u306b\u306f\u30d7\u30ed\u30d7\u30e9\u30f3\u306e\u5229\u7528\u304c\u5fc5\u9808\u306b\u306a\u308b\u3088\u3046\u3067\u3059\u3002\u30d7\u30e9\u30f3\u306a\u3069\u306f\u6642\u671f\u306b\u3088\u3063\u3066\u5909\u52d5\u3059\u308b\u53ef\u80fd\u6027\u3082\u3042\u308a\u307e\u3059\u306e\u3067\u3001<a href=\"https:\/\/business.line.me\/ja\/services\/bot\" target=\"_blank\">Messaging API\u306e\u30da\u30fc\u30b8<\/a>\u3092\u78ba\u8a8d\u3057\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_009.jpg\" alt=\"\" width=\"640\" height=\"284\" class=\"alignnone size-full wp-image-68856\" srcset=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_009.jpg 640w, https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_009-300x133.jpg 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u3044\u304b\u304c\u3060\u3063\u305f\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u300c\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u30c4\u30a4\u30fc\u30c8\u3092\u53d6\u5f97\u3057\u3066push\u901a\u77e5\u3059\u308bLINE Bot\u3092\u4f5c\u308b\u300d\u3068\u3044\u3046\u3068\u96e3\u3057\u305d\u3046\u306b\u601d\u3048\u307e\u3059\u304c\u3001Twitter\u9023\u643a\u3084Bot\u8a2d\u5b9a\u3001\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u304c\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u64cd\u4f5c\u3067\u304d\u308b\u306e\u3067\u610f\u5916\u3068\u7c21\u5358\u306b\u8a66\u305b\u305f\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>Azure Web Apps\u306e\u3088\u3046\u306aPaaS\u3092\u4f7f\u3046\u3068\u81ea\u524d\u3067\u30b5\u30fc\u30d0\u3092\u7528\u610f\u3057\u3066\u7d30\u304b\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5bfe\u7b56\u3084SSL\uff08https\uff09\u5bfe\u5fdc\u3092\u3059\u308b\u624b\u9593\u304c\u7701\u3051\u308b\u306e\u3067\u300c\u516c\u958b\u3059\u308b\u300d\u3068\u3044\u3046\u6577\u5c45\u304c\u3050\u3063\u3068\u4e0b\u304c\u308a\u307e\u3059\u306d\u3002<\/p>\n<p>\u5f15\u304d\u7d9a\u304d\u69d8\u3005\u306a\u5f62\u614b\u306b\u9069\u3057\u305f\u4fbf\u5229\u306a\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d3\u30b9\u3092\u7d39\u4ecb\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\uff01<\/p>\n<p><style><!--\n.exp-comment {   border-top: 1px solid lightgray; } .exp-thumbnail { } .exp-info {   font-size: 1.1em !important;   margin-bottom: 0 !important; } .exp-comment-pubdate {   font-size: .8em !important;   margin-bottom: 4px !important; } .exp-comment-main {   border: 1px solid lightgray;   border-radius: 8px;   padding: 1em;   min-height: 70px;   margin-bottom: 16px; } .exp-thumbnail {   width: 70px;   float: left; } .exp-comment-body {   margin-left: 80px; } .editor-comment {   clear: left; } .exp-question {   font-weight: bold;   margin-bottom: 8px; }\n--><\/style>\n<\/p>\n<div class=\"information_block\">\n<h4><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2016\/12\/1473686705.png\" alt=\"\" width=\"80\" height=\"80\" class=\"alignnone size-full wp-image-68777\" srcset=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2016\/12\/1473686705.png 80w, https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2016\/12\/1473686705-60x60.png 60w, https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2016\/12\/1473686705-50x50.png 50w\" sizes=\"auto, (max-width: 80px) 100vw, 80px\" \/>\u306e\u3073\u3059\u3051<\/h4>\n<p><span style=\"font-size: 14px;\">dotstudio\u682a\u5f0f\u4f1a\u793e \u4ee3\u8868\u53d6\u7de0\u5f79CEO\u30021989\u5e74\u751f\u307e\u308c\u3002\u5ca9\u624b\u770c\u7acb\u5927\u5b66\u5728\u7c4d\u6642\u306bIT\u30d9\u30f3\u30c1\u30e3\u30fc\u4f01\u696d\u306e\u5f79\u54e1\u3092\u52d9\u3081\u308b\u3002\u540c\u5927\u5b66\u9662\u3092\u5352\u696d\u5f8c\u3001\u682a\u5f0f\u4f1a\u793eLIG\u306bWeb\u30a8\u30f3\u30b8\u30cb\u30a2\u3068\u3057\u3066\u5165\u793e\u3057\u3001Web\u5236\u4f5c\u306b\u643a\u308f\u308b\u3002 2016\u5e747\u6708\u3088\u308adotstudio\u682a\u5f0f\u4f1a\u793e\u3092\u7acb\u3061\u4e0a\u3052\u3001IoT\u9818\u57df\u3092\u4e2d\u5fc3\u306b\u6d3b\u52d5\u3057\u3066\u3044\u308b\u3002\u65e5\u672c\u6700\u5927\u898f\u6a21\u306eIoT\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3067\u3042\u308bIoTLT\u3084\u3001JavaScript Robotics\u30b3\u30df\u30e5\u30cb\u30c6\u30a3NodeBots\u306e\u4e3b\u50ac\u3001IoT\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d3\u30b9\u3067\u3042\u308bMilkcocoa\u306e\u30a8\u30d0\u30f3\u30b8\u30a7\u30ea\u30b9\u30c8\u3068\u3057\u3066\u3082\u6d3b\u52d5\u4e2d\u3002<br \/>\nTwitter: <a href=\"https:\/\/twitter.com\/n0bisuke\" target=\"_blank\">@n0bisuke<\/a><br \/>\ndotstudio, inc.: <a href=\"https:\/\/dotstud.io\/\" target=\"_blank\">https:\/\/dotstud.io\/<\/a><\/span><\/p>\n<\/div>\n<p><strong><span style=\"font-size: 12px;\">\u203b\u672c\u8a18\u4e8b\u306f\u300cCodeIQ MAGAZINE\u300d\u63b2\u8f09\u306e\u8a18\u4e8b\u3092\u8ee2\u8f09\u3057\u3066\u304a\u308a\u307e\u3059\u3002<\/span><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>WS\u3084Azure\u3092\u59cb\u3081\u305f\u3068\u3057\u305f\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d3\u30b9\u5168\u822c\u3092\u89e6\u3063\u3066\u3044\u304f\u9023\u8f09\u300c\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d3\u30b9\u7814\u7a76\u30b9\u30bf\u30b8\u30aa\u300d\u3002\u3053\u306e\u9023\u8f09\u3067\u306f\u3001IaaS,PaaS,BaaS,SaaS\u306a\u3069\u5e45\u5e83\u3044\u5f62\u614b\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u5b9f\u969b\u306b\u4f7f\u3063\u3066\u30ec&#8230;<\/p>\n","protected":false},"author":21,"featured_media":68854,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[6],"tags":[118,184,264,294],"class_list":["post-52556","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-topic","tag-line","tag-cloud","tag-azure","tag-node-js"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Azure Web Apps\u3068Node.js\u3067\u4f5c\u308b\u96fb\u8eca\u904b\u884c\u72b6\u6cc1\u901a\u77e5\u2500\u2500LINE Bot(4) \/ LINE Bot\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b - \u30ea\u30af\u30ca\u30d3NEXT\u30b8\u30e3\u30fc\u30ca\u30eb<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Azure Web Apps\u3068Node.js\u3067\u4f5c\u308b\u96fb\u8eca\u904b\u884c\u72b6\u6cc1\u901a\u77e5\u2500\u2500LINE Bot(4) \/ LINE Bot\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b - \u30ea\u30af\u30ca\u30d3NEXT\u30b8\u30e3\u30fc\u30ca\u30eb\" \/>\n<meta property=\"og:description\" content=\"WS\u3084Azure\u3092\u59cb\u3081\u305f\u3068\u3057\u305f\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d3\u30b9\u5168\u822c\u3092\u89e6\u3063\u3066\u3044\u304f\u9023\u8f09\u300c\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d3\u30b9\u7814\u7a76\u30b9\u30bf\u30b8\u30aa\u300d\u3002\u3053\u306e\u9023\u8f09\u3067\u306f\u3001IaaS,PaaS,BaaS,SaaS\u306a\u3069\u5e45\u5e83\u3044\u5f62\u614b\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u5b9f\u969b\u306b\u4f7f\u3063\u3066\u30ec...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/\" \/>\n<meta property=\"og:site_name\" content=\"\u30ea\u30af\u30ca\u30d3NEXT\u30b8\u30e3\u30fc\u30ca\u30eb\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/rikunabinext\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-06-30T01:00:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-10-11T04:50:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_007.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"640\" \/>\n\t<meta property=\"og:image:height\" content=\"625\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"pinq4387\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rikunabinext\" \/>\n<meta name=\"twitter:site\" content=\"@rikunabinext\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"pinq4387\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/\"},\"author\":{\"name\":\"pinq4387\",\"@id\":\"https:\/\/next.rikunabi.com\/journal\/#\/schema\/person\/4a722a08300f7e203753fa5126966ded\"},\"headline\":\"Azure Web Apps\u3068Node.js\u3067\u4f5c\u308b\u96fb\u8eca\u904b\u884c\u72b6\u6cc1\u901a\u77e5\u2500\u2500LINE Bot(4) \/ LINE Bot\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b\",\"datePublished\":\"2017-06-30T01:00:53+00:00\",\"dateModified\":\"2018-10-11T04:50:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/\"},\"wordCount\":154,\"image\":{\"@id\":\"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_007.jpg\",\"keywords\":[\"LINE\",\"\u30af\u30e9\u30a6\u30c9\",\"Azure\",\"Node.js\"],\"articleSection\":[\"\u6c17\u306b\u306a\u308b\u8a71\u984c\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/\",\"url\":\"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/\",\"name\":\"Azure Web Apps\u3068Node.js\u3067\u4f5c\u308b\u96fb\u8eca\u904b\u884c\u72b6\u6cc1\u901a\u77e5\u2500\u2500LINE Bot(4) \/ LINE Bot\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b - \u30ea\u30af\u30ca\u30d3NEXT\u30b8\u30e3\u30fc\u30ca\u30eb\",\"isPartOf\":{\"@id\":\"https:\/\/next.rikunabi.com\/journal\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_007.jpg\",\"datePublished\":\"2017-06-30T01:00:53+00:00\",\"dateModified\":\"2018-10-11T04:50:21+00:00\",\"author\":{\"@id\":\"https:\/\/next.rikunabi.com\/journal\/#\/schema\/person\/4a722a08300f7e203753fa5126966ded\"},\"breadcrumb\":{\"@id\":\"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/#primaryimage\",\"url\":\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_007.jpg\",\"contentUrl\":\"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_007.jpg\",\"width\":640,\"height\":625},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/next.rikunabi.com\/journal\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Azure Web Apps\u3068Node.js\u3067\u4f5c\u308b\u96fb\u8eca\u904b\u884c\u72b6\u6cc1\u901a\u77e5\u2500\u2500LINE Bot(4) \/ LINE Bot\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/next.rikunabi.com\/journal\/#website\",\"url\":\"https:\/\/next.rikunabi.com\/journal\/\",\"name\":\"\u30ea\u30af\u30ca\u30d3NEXT\u30b8\u30e3\u30fc\u30ca\u30eb\",\"description\":\"\u30ad\u30e3\u30ea\u30a2\u30fb\u30d3\u30b8\u30cd\u30b9\u306e\u60c5\u5831\u3067\u3042\u306a\u305f\u306e\u300c\u50cd\u304f\u300d\u3092\u5fdc\u63f4\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/next.rikunabi.com\/journal\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/next.rikunabi.com\/journal\/#\/schema\/person\/4a722a08300f7e203753fa5126966ded\",\"name\":\"pinq4387\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/c6b0ad28e3cab6941b44f5274523e5b4a048401d15b548117fb3ba95544819b8?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c6b0ad28e3cab6941b44f5274523e5b4a048401d15b548117fb3ba95544819b8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c6b0ad28e3cab6941b44f5274523e5b4a048401d15b548117fb3ba95544819b8?s=96&d=mm&r=g\",\"caption\":\"pinq4387\"},\"url\":\"https:\/\/next.rikunabi.com\/journal\/author\/pinq4387\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Azure Web Apps\u3068Node.js\u3067\u4f5c\u308b\u96fb\u8eca\u904b\u884c\u72b6\u6cc1\u901a\u77e5\u2500\u2500LINE Bot(4) \/ LINE Bot\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b - \u30ea\u30af\u30ca\u30d3NEXT\u30b8\u30e3\u30fc\u30ca\u30eb","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/","og_locale":"ja_JP","og_type":"article","og_title":"Azure Web Apps\u3068Node.js\u3067\u4f5c\u308b\u96fb\u8eca\u904b\u884c\u72b6\u6cc1\u901a\u77e5\u2500\u2500LINE Bot(4) \/ LINE Bot\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b - \u30ea\u30af\u30ca\u30d3NEXT\u30b8\u30e3\u30fc\u30ca\u30eb","og_description":"WS\u3084Azure\u3092\u59cb\u3081\u305f\u3068\u3057\u305f\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d3\u30b9\u5168\u822c\u3092\u89e6\u3063\u3066\u3044\u304f\u9023\u8f09\u300c\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d3\u30b9\u7814\u7a76\u30b9\u30bf\u30b8\u30aa\u300d\u3002\u3053\u306e\u9023\u8f09\u3067\u306f\u3001IaaS,PaaS,BaaS,SaaS\u306a\u3069\u5e45\u5e83\u3044\u5f62\u614b\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u5b9f\u969b\u306b\u4f7f\u3063\u3066\u30ec...","og_url":"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/","og_site_name":"\u30ea\u30af\u30ca\u30d3NEXT\u30b8\u30e3\u30fc\u30ca\u30eb","article_publisher":"https:\/\/www.facebook.com\/rikunabinext\/","article_published_time":"2017-06-30T01:00:53+00:00","article_modified_time":"2018-10-11T04:50:21+00:00","og_image":[{"width":640,"height":625,"url":"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_007.jpg","type":"image\/jpeg"}],"author":"pinq4387","twitter_card":"summary_large_image","twitter_creator":"@rikunabinext","twitter_site":"@rikunabinext","twitter_misc":{"\u57f7\u7b46\u8005":"pinq4387","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/#article","isPartOf":{"@id":"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/"},"author":{"name":"pinq4387","@id":"https:\/\/next.rikunabi.com\/journal\/#\/schema\/person\/4a722a08300f7e203753fa5126966ded"},"headline":"Azure Web Apps\u3068Node.js\u3067\u4f5c\u308b\u96fb\u8eca\u904b\u884c\u72b6\u6cc1\u901a\u77e5\u2500\u2500LINE Bot(4) \/ LINE Bot\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b","datePublished":"2017-06-30T01:00:53+00:00","dateModified":"2018-10-11T04:50:21+00:00","mainEntityOfPage":{"@id":"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/"},"wordCount":154,"image":{"@id":"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/#primaryimage"},"thumbnailUrl":"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_007.jpg","keywords":["LINE","\u30af\u30e9\u30a6\u30c9","Azure","Node.js"],"articleSection":["\u6c17\u306b\u306a\u308b\u8a71\u984c"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/","url":"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/","name":"Azure Web Apps\u3068Node.js\u3067\u4f5c\u308b\u96fb\u8eca\u904b\u884c\u72b6\u6cc1\u901a\u77e5\u2500\u2500LINE Bot(4) \/ LINE Bot\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b - \u30ea\u30af\u30ca\u30d3NEXT\u30b8\u30e3\u30fc\u30ca\u30eb","isPartOf":{"@id":"https:\/\/next.rikunabi.com\/journal\/#website"},"primaryImageOfPage":{"@id":"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/#primaryimage"},"image":{"@id":"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/#primaryimage"},"thumbnailUrl":"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_007.jpg","datePublished":"2017-06-30T01:00:53+00:00","dateModified":"2018-10-11T04:50:21+00:00","author":{"@id":"https:\/\/next.rikunabi.com\/journal\/#\/schema\/person\/4a722a08300f7e203753fa5126966ded"},"breadcrumb":{"@id":"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/#primaryimage","url":"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_007.jpg","contentUrl":"https:\/\/next.rikunabi.com\/journal\/wp-content\/uploads\/2017\/06\/azure_node_007.jpg","width":640,"height":625},{"@type":"BreadcrumbList","@id":"https:\/\/next.rikunabi.com\/journal\/20170630_t21_iq\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/next.rikunabi.com\/journal\/"},{"@type":"ListItem","position":2,"name":"Azure Web Apps\u3068Node.js\u3067\u4f5c\u308b\u96fb\u8eca\u904b\u884c\u72b6\u6cc1\u901a\u77e5\u2500\u2500LINE Bot(4) \/ LINE Bot\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b"}]},{"@type":"WebSite","@id":"https:\/\/next.rikunabi.com\/journal\/#website","url":"https:\/\/next.rikunabi.com\/journal\/","name":"\u30ea\u30af\u30ca\u30d3NEXT\u30b8\u30e3\u30fc\u30ca\u30eb","description":"\u30ad\u30e3\u30ea\u30a2\u30fb\u30d3\u30b8\u30cd\u30b9\u306e\u60c5\u5831\u3067\u3042\u306a\u305f\u306e\u300c\u50cd\u304f\u300d\u3092\u5fdc\u63f4","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/next.rikunabi.com\/journal\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/next.rikunabi.com\/journal\/#\/schema\/person\/4a722a08300f7e203753fa5126966ded","name":"pinq4387","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/c6b0ad28e3cab6941b44f5274523e5b4a048401d15b548117fb3ba95544819b8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c6b0ad28e3cab6941b44f5274523e5b4a048401d15b548117fb3ba95544819b8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c6b0ad28e3cab6941b44f5274523e5b4a048401d15b548117fb3ba95544819b8?s=96&d=mm&r=g","caption":"pinq4387"},"url":"https:\/\/next.rikunabi.com\/journal\/author\/pinq4387\/"}]}},"publishpress_future_action":{"enabled":false,"date":"2026-04-24 21:29:04","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"category","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/next.rikunabi.com\/journal\/wp-json\/wp\/v2\/posts\/52556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/next.rikunabi.com\/journal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/next.rikunabi.com\/journal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/next.rikunabi.com\/journal\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/next.rikunabi.com\/journal\/wp-json\/wp\/v2\/comments?post=52556"}],"version-history":[{"count":4,"href":"https:\/\/next.rikunabi.com\/journal\/wp-json\/wp\/v2\/posts\/52556\/revisions"}],"predecessor-version":[{"id":69129,"href":"https:\/\/next.rikunabi.com\/journal\/wp-json\/wp\/v2\/posts\/52556\/revisions\/69129"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/next.rikunabi.com\/journal\/wp-json\/wp\/v2\/media\/68854"}],"wp:attachment":[{"href":"https:\/\/next.rikunabi.com\/journal\/wp-json\/wp\/v2\/media?parent=52556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/next.rikunabi.com\/journal\/wp-json\/wp\/v2\/categories?post=52556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/next.rikunabi.com\/journal\/wp-json\/wp\/v2\/tags?post=52556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}