{"id":4627,"date":"2025-01-01T23:07:55","date_gmt":"2025-01-01T14:07:55","guid":{"rendered":"https:\/\/www.thun-techblog.com\/?p=4627"},"modified":"2025-02-09T22:28:09","modified_gmt":"2025-02-09T13:28:09","slug":"epgstation-error-notify-w-line-messaging-api","status":"publish","type":"post","link":"https:\/\/www.thun-techblog.com\/index.php\/blog\/epgstation-error-notify-w-line-messaging-api\/","title":{"rendered":"EPGStation\u3067\u306e\u30a8\u30e9\u30fc\u901a\u77e5\u3092Line Messaging API\u3067\u9001\u308b"},"content":{"rendered":"\n<p>\u4ee5\u524d\u306bEPGStation\u3092\u4f7f\u7528\u3057\u305f\u74b0\u5883\u3067\u9332\u753b\u5931\u6557\u6642\u306bLineNotify\u3092\u901a\u3058\u3066\u30a8\u30e9\u30fc\u3092\u9001\u308b\u65b9\u6cd5\u3092\u4ee5\u524d\u306b\u8a18\u4e8b\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-thun wp-block-embed-thun\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"WJaHn7WBFt\"><a href=\"https:\/\/www.thun-techblog.com\/index.php\/blog\/epgstation-line-failed-notify\/\">EPGStaion\u3067LINE\u306b\u9332\u753b\u5931\u6557\u901a\u77e5\u3092\u9001\u308b\u3002\u3068\u3066\u3082\u7c21\u5358\u3067\u5fdc\u7528\u3082\u52b9\u304d\u307e\u3059\u3002<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;EPGStaion\u3067LINE\u306b\u9332\u753b\u5931\u6557\u901a\u77e5\u3092\u9001\u308b\u3002\u3068\u3066\u3082\u7c21\u5358\u3067\u5fdc\u7528\u3082\u52b9\u304d\u307e\u3059\u3002&#8221; &#8212; THUN\u306e\u904a\u622f\u5ba4\" src=\"https:\/\/www.thun-techblog.com\/index.php\/blog\/epgstation-line-failed-notify\/embed\/#?secret=SaEFy59zgp#?secret=WJaHn7WBFt\" data-secret=\"WJaHn7WBFt\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u3057\u304b\u3057\u3001\u5229\u7528\u3057\u3066\u3044\u308b\u4eba\u306f\u6c17\u304c\u4ed8\u3044\u305f\u3068\u601d\u3044\u307e\u3059\u304c\u3001LineNotify\u306f25\u5e743\u6708\u672b\u3067\u306e\u30b5\u30fc\u30d3\u30b9\u7d42\u4e86\u3068\u306e\u901a\u9054\u304c\u6700\u8fd1\u3042\u308a\u307e\u3057\u305f\u3002\u53e4\u3044API\u3092\u6b8b\u3059\u306e\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7684\u306b\u3082\u30b3\u30b9\u30c8\u7684\u306b\u3082\u53b3\u3057\u3044\u3068\u3053\u308d\u304c\u3042\u3063\u305f\u306e\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>2025\u5e743\u670831\u65e5\u3092\u3082\u3063\u3066\u3001LINE Notify\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u7d42\u4e86\u3057\u307e\u3059<br><a href=\"https:\/\/developers.line.biz\/ja\/news\/2024\/10\/07\/line-notify-will-be-discontinued\">https:\/\/developers.line.biz\/ja\/news\/2024\/10\/07\/line-notify-will-be-discontinued<\/a><\/p>\n\n\n\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u4ee3\u66ff\u65b9\u6cd5\u3092\u691c\u7d22\u3057\u3066\u307f\u308b\u3068\u3001Line Messaging API\u304c\u4ee3\u66ff\u5019\u88dc\u3068\u306e\u3053\u3068\u3067\u3059\u3002\u3068\u3044\u3046\u308f\u3051\u3067LineMessaging API\u3092\u4f7f\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p class=\"has-text-align-center\">\u76ee\u6b21<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#a\">Line Notify\u3068MessagingAPI<\/a><\/li>\n\n\n\n<li><a href=\"#b\">Line Messaging API\u3092\u4f7f\u3063\u3066\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u4fe1<\/a><\/li>\n\n\n\n<li><a href=\"#c\">EPGStation\u3067\u4f7f\u3046<\/a><\/li>\n\n\n\n<li><a href=\"#d\">\u756a\u7d44\u540d\u306a\u3069\u74b0\u5883\u5909\u6570\u3092\u4f7f\u3044\u305f\u3044\u5834\u5408<\/a><\/li>\n\n\n\n<li><a href=\"#e\">\u307e\u3068\u3081<\/a><\/li>\n<\/ul>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n<h2 class=\"wp-block-heading\" id=\"a\">Line Notify\u3068MessagingAPI<\/h2>\n\n\n\n<p>Line Notify\u3068\u306e\u9055\u3044\u306f<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u7121\u6599\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u306f200\u901a\/\u6708\u3068\u3044\u3046\u9001\u4fe1\u6570\u306b\u5236\u9650\u304c\u3042\u308b<\/li>\n\n\n\n<li>\u516c\u5f0f\u30a2\u30ab\u30a6\u30f3\u30c8\u304cLine Notify\u306e\u4ee3\u308f\u308a\u306b\u306a\u308b<\/li>\n\n\n\n<li>\u5c11\u3057\u3060\u3051\u9001\u4fe1\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u304c\u5909\u308f\u308b<\/li>\n<\/ul>\n\n\n\n<p>\u3050\u3089\u3044\u3067\u3059\u3002EPGStation\u3067\u9332\u753b\u5931\u6557\u306e\u30b3\u30de\u30f3\u30c9\u3092\u9001\u308b\u3050\u3089\u3044\u306a\u3089\u5341\u5206\u3067\u3057\u3087\u3046\u3002\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\u3092\u4f7f\u3063\u3066\u9001\u4fe1\u3059\u308b\u70b9\u3084\u3001curl\u3067\u9001\u308c\u308b\u3068\u3044\u3046\u70b9\u306f\u4f55\u3082\u5909\u308f\u3063\u3066\u3044\u306a\u3044\u306e\u3067\u6bd4\u8f03\u7684\u6c17\u8efd\u306b\u4f7f\u3048\u308b\u3053\u3068\u306f\u9593\u9055\u3044\u306a\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<p>Line\u767b\u9332\u95a2\u4fc2\u306f\u3053\u306e\u30b5\u30a4\u30c8\u304c\u975e\u5e38\u306b\u308f\u304b\u308a\u3084\u3059\u3044\u306e\u3067\u3001\u305d\u3061\u3089\u306b\u304a\u4efb\u305b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>Qiita &#8211; LINE Notify\u304c\u30b5\u30fc\u30d3\u30b9\u7d42\u4e86\u3059\u308b\u306e\u3067\u3001LINE\u516c\u5f0f\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u7f6e\u304d\u63db\u3048\u308b<br><a href=\"https:\/\/qiita.com\/jksoft\/items\/4d57a9282a56c38d0a9c\">https:\/\/qiita.com\/jksoft\/items\/4d57a9282a56c38d0a9c<\/a><\/p>\n\n\n\n<p>\u6307\u793a\u306b\u5f93\u3063\u3066\u516c\u5f0f\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210&amp;\u53cb\u9054\u8ffd\u52a0\u3057\u3066\u3001\u305d\u306e\u5f8c\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\u3092\u53d6\u5f97\u3057\u307e\u3057\u3087\u3046\u3002\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\u3092\u4f7f\u3063\u3066curl\u3067\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u9001\u308c\u307e\u3059\u3002\u30b3\u30de\u30f3\u30c9\u306e\u8a73\u7d30\u306f\u3053\u3061\u3089\u306e\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>Line Developer- \u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u4fe1\u3059\u308b<br><a href=\"https:\/\/developers.line.biz\/ja\/docs\/messaging-api\/sending-messages\">https:\/\/developers.line.biz\/ja\/docs\/messaging-api\/sending-messages<\/a><\/p>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n<h2 class=\"wp-block-heading\" id=\"b\">Line Messaging API\u3092\u4f7f\u3063\u3066\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u4fe1<\/h2>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3067\u9001\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>curl -X POST https:\/\/api.line.me\/v2\/bot\/message\/broadcast -H &#39;Content-Type: application\/json&#39; -H &#39;Authorization: Bearer ACCESS_TOKEN&#39; -d &#39;{&quot;messages&quot;:[{&quot;type&quot;:&quot;text&quot;,&quot;text&quot;:&quot;Hello, world&quot;}]}&#39;<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u308c\u306fbroadcast\u3067\u9001\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u4f5c\u6210\u3057\u305f\u516c\u5f0f\u30a2\u30ab\u30a6\u30f3\u30c8\u304b\u3089\u53cb\u9054\u5168\u54e1\u306b\u9001\u308b\u65b9\u6cd5\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u767b\u9332\u8005\u304c\u81ea\u5206\u3072\u3068\u308a\u306a\u3089\u3053\u308c\u304c\u4e00\u756a\u697d\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3092\u524d\u306e\u8a18\u4e8b\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u3066\u3082\u3088\u3044\u3067\u3059\u3057\u3001\u81ea\u5206\u3067\u89e6\u308b\u65b9\u306fjs\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066\u4f7f\u3063\u3066\u3082\u3088\u3044\u3067\u3057\u3087\u3046\u3002\u4eca\u56de\u306fjs\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066\u4f7f\u3046\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u540d\u524d\u306f\u597d\u304d\u306a\u540d\u524d\u3067\u5927\u4e08\u592b\u3067\u3059\u3002\u4f8b: test.js<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const ACCESS_TOKEN=&quot;\u3053\u3053\u306b\u30c8\u30fc\u30af\u30f3\u3092\u8a18\u5165&quot;\n\nfunction LineMsgAPI(TOKEN,MSG){\n\nconst execSync = require(&#39;child_process&#39;).execSync;\nlet curl =&#39;curl -X POST https:\/\/api.line.me\/v2\/bot\/message\/broadcast -H \\&#39;Content-Type: application\/json\\&#39; -H \\&#39;Authorization: Bearer &#39;\ncurl =curl + TOKEN +&#39;\\&#39; -d \\&#39;{\\&quot;messages\\&quot;:[{\\&quot;type\\&quot;:\\&quot;text\\&quot;,\\&quot;text\\&quot;:\\&quot;&#39;+ MSG + &#39;\\&quot;}]}\\&#39;&#39;;\nconsole.log(curl);\nconst out = execSync(curl);\n}\n\nconst main = async () =&gt; {\nawait LineMsgAPI(ACCESS_TOKEN,process.argv[2]);\n}\n\nmain();<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u308c\u306b\u5f15\u6570\u3092\u3064\u3051\u3066\u5b9f\u884c\u3059\u308b\u3068\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u8a66\u3057\u306b\u3001\u300ctest\u300d\u3068\u9001\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>node test.js test<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u308c\u3067\u4f5c\u6210\u3057\u305f\u516c\u5f0f\u30a2\u30ab\u30a6\u30f3\u30c8\u306btest\u3068\u9001\u3089\u308c\u3066\u304f\u308c\u3070\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002\u3061\u306a\u307f\u306b\u3001\u6539\u884c\u3059\u308b\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6539\u884c\u7b87\u6240\u3067\/n\u3092\u3057\u305f\u6587\u5b57\u5217\u3092\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3(&#8220;)\u3067\u56f2\u3080\u3068\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>node test.js &quot;test\\nline break&quot;<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"671\" src=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2025\/01\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-01-01-16.55.52-1024x671.jpg\" alt=\"\" class=\"wp-image-4641\" srcset=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2025\/01\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-01-01-16.55.52-1024x671.jpg 1024w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2025\/01\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-01-01-16.55.52-300x196.jpg 300w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2025\/01\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-01-01-16.55.52-768x503.jpg 768w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2025\/01\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-01-01-16.55.52.jpg 1179w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">\u5b9f\u969b\u306b\u9001\u3063\u3066\u307f\u305f<\/figcaption><\/figure>\n\n\n\n<p>\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u3067\u56f2\u307e\u306a\u3044\u3068\u771f\u3093\u4e2d\u306e\u3088\u3046\u306b\u300cn\u300d\u304c\u5165\u3063\u305f\u8b0e\u306e\u6587\u7ae0\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u6ce8\u610f\u3067\u3059\u3002<\/p>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n<h2 class=\"wp-block-heading\" id=\"c\">EPGStation\u3067\u4f7f\u3046<\/h2>\n\n\n\n<p>\u6b21\u306b\u3001EPGStation\u306b\u767b\u9332\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u90e8\u5206\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002EPGstation\/config\/test.js\u306e\u4f4d\u7f6e\u306bjs\u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u3044\u3066\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4fdd\u5b58\u9818\u57df\u304c\u3044\u3063\u3071\u3044\u306b\u306a\u3063\u305f\u969b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u60f3\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>recorded:\n    - name: encode\n      path: &#39;\/hoge\/hoge&#39;\n      limitThreshold: 100000\n      action: &#39;none&#39;\n      limitCmd: &#39;%NODE% %ROOT%\/config\/NotifyLine.js \u30a8\u30f3\u30b3\u30fc\u30c9\u7528\u30c9\u30e9\u30a4\u30d6\u306e\u5bb9\u91cf\u304c\u4e00\u676f\u3067\u3059\u3002\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002&#39;<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u65e5\u672c\u8a9e\u3092\u5165\u308c\u3066\u3082\u52d5\u304b\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3067\u597d\u304d\u306a\u3088\u3046\u306bLINE\u306b\u5bfe\u3057\u3066\u901a\u77e5\u3092EPGStaion\u304b\u3089\u9001\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u30021\u304b\u6708200\u901a\u307e\u3067\u306a\u306e\u3067\u305d\u3053\u307e\u3067\u5927\u91cf\u306b\u9001\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u304c\u3001\u4fbf\u5229\u306b\u4f7f\u3048\u308b\u3053\u3068\u306f\u9593\u9055\u3044\u306a\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u79c1\u306f\u9332\u753b\u30c9\u30e9\u30a4\u30d6\u304c\u3044\u3063\u3071\u3044\u3060\u3063\u305f\u3068\u304d\u3001\u9332\u753b\u5931\u6557\u6642\u3001join_logo_scp\u306e\u30ed\u30b4\u30d5\u30a1\u30a4\u30eb\u304c\u306a\u304b\u3063\u305f\u3068\u304d\u306a\u3069\u306b\u901a\u77e5\u3092\u9001\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u3053\u3089\u3078\u3093\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3068\u7570\u5e38\u6642\u306b\u3059\u3050\u6c17\u3065\u3051\u308b\u306e\u3067\u975e\u5e38\u306b\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n<h2 class=\"wp-block-heading\" id=\"d\">\u756a\u7d44\u540d\u306a\u3069\u74b0\u5883\u5909\u6570\u3092\u4f7f\u3044\u305f\u3044\u5834\u5408<\/h2>\n\n\n\n<p>\u901a\u77e5\u306b\u756a\u7d44\u540d\u3092\u51fa\u3057\u305f\u3044\u3068\u3044\u3063\u305f\u3088\u3046\u306a\u5834\u5408\u3082\u3042\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002\u305d\u306e\u969b\u306fepgstation\u3067\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u6642\u306b\u6e21\u3055\u308c\u308b\u74b0\u5883\u5909\u6570\u3092\u4f7f\u3044\u307e\u3059\u3002<a href=\"https:\/\/github.com\/l3tnun\/EPGStation\/blob\/master\/doc\/conf-manual.md#recordedformat\">\u8a73\u7d30\u30de\u30cb\u30e5\u30a2\u30eb<\/a>\u306b\u3088\u308b\u3068\u3001NAME\u3067\u756a\u7d44\u540d\u3001CHANNELNAME\u3067\u653e\u9001\u5c40\u540d\u304c\u4e0e\u3048\u3089\u308c\u308b\u5834\u5408\u306a\u3069\u304c\u3042\u308b\u3088\u3046\u3067\u3059\u3002\u3053\u3053\u3089\u8fba\u306f\u5b9f\u884c\u3059\u308b\u30b3\u30de\u30f3\u30c9\u306b\u3088\u3063\u3066\u5909\u6570\u304c\u7f6e\u63db\u3055\u308c\u308b\u306e\u304b\u3001\u74b0\u5883\u5909\u6570\u304c\u6e21\u3055\u308c\u308b\u304b\u304c\u7570\u306a\u308b\u306e\u3067\u3001\u30de\u30cb\u30e5\u30a2\u30eb\u3092\u3088\u304f\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u51e6\u7406\u306e\u90fd\u5408\u306e\u3088\u3046\u3067\u3059\u304c\u3001\u5f15\u6570\u3068\u3057\u3066\u5909\u6570\u3084\u74b0\u5883\u5909\u6570\u3092\u6e21\u3059\u306e\u306f\u96e3\u3057\u3044\u4ed5\u69d8\u3068\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u306e\u969b\u306f\u9762\u5012\u3067\u3059\u304c\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u306a\u304a\u3055\u306a\u3044\u3068\u3044\u3051\u307e\u305b\u3093\u3002\u52a0\u3048\u3066\u3001\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3060\u3068\u74b0\u5883\u5909\u6570\u3092\u4f7f\u3046\u306e\u304c\u96e3\u3057\u3044\u306e\u3067\u3001javascript\u3067\u66f8\u304f\u306e\u304c\u826f\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u4e0a\u8ff0\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3057\u3066\u3001\u74b0\u5883\u5909\u6570\u3092\u4f7f\u3063\u3066\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u653e\u9001\u5c40\u3092\u9001\u4fe1\u3059\u308bjs\u30d5\u30a1\u30a4\u30eb\u3092\u8a18\u8ff0\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>const ACCESS_TOKEN=&quot;\u30c8\u30fc\u30af\u30f3\u3092\u3053\u3053\u306b\u66f8\u304f&quot;\nconst title_name=process.env.NAME\nconst channel_name=process.env.CHANNELNAME\n\nfunction LineMsgAPI(TOKEN,MSG){\n\nconst SendMSG= MSG + &#39;\\\\n\\\\n\u3010\u756a\u7d44\u3011 &#39;+ title_name +&#39;\\\\n\\\\n\u3010\u653e\u9001\u5c40\u3011 &#39;+ channel_name ;\nconst execSync = require(&#39;child_process&#39;).execSync;\nlet curl =&#39;curl -X POST https:\/\/api.line.me\/v2\/bot\/message\/broadcast -H \\&#39;Content-Type: application\/json\\&#39; -H \\&#39;Authorization: Bearer &#39;\ncurl =curl + TOKEN +&#39;\\&#39; -d \\&#39;{\\&quot;messages\\&quot;:[{\\&quot;type\\&quot;:\\&quot;text\\&quot;,\\&quot;text\\&quot;:\\&quot;&#39;+ SendMSG + &#39;\\&quot;}]}\\&#39;&#39;;\nconsole.log(curl);\nconst out = execSync(curl);\n}\n\nconst main = async () =&gt; {\nawait LineMsgAPI(ACCESS_TOKEN,process.argv[2]);\n}\n\nmain();<\/code><\/pre><\/div>\n\n\n\n<p>\u5148\u307b\u3069\u3068\u540c\u3058\u3088\u3046\u306b\u5b9f\u884c\u3059\u308b\u3068\u4efb\u610f\u306e\u6587\u5b57\u5217\u306e\u5f8c\u306b\u756a\u7d44\u540d\u3068\u653e\u9001\u5c40\u304c\u4ed8\u52a0\u3055\u308c\u3066\u9001\u4fe1\u3055\u308c\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002\u5177\u4f53\u7684\u306b\u306f\u4ee5\u4e0b\u306e\u753b\u50cf\u306e\u3088\u3046\u306a\u611f\u3058\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"651\" src=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2025\/01\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-01-01-22.08.48-1024x651.jpg\" alt=\"\" class=\"wp-image-4643\" srcset=\"https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2025\/01\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-01-01-22.08.48-1024x651.jpg 1024w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2025\/01\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-01-01-22.08.48-300x191.jpg 300w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2025\/01\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-01-01-22.08.48-768x489.jpg 768w, https:\/\/www.thun-techblog.com\/wp-content\/uploads\/2025\/01\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-01-01-22.08.48.jpg 1179w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u3053\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3067\u306e\u5909\u66f4\u70b9\u306f\u6587\u5b57\u5217\u306e\u51e6\u7406\u3092\u5909\u3048\u3066\u3044\u308b\u306e\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u4ee5\u4e0b\u306e\uff12\u884c\u304c\u30e1\u30a4\u30f3\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>const title_name=process.env.NAME\nconst channel_name=process.env.CHANNELNAME<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u308c\u306b\u3088\u3063\u3066\u6e21\u3055\u308c\u305f\u74b0\u5883\u5909\u6570\u3092\u53d6\u308a\u51fa\u3057\u3066const\u306b\u683c\u7d0d\u3057\u3066\u3044\u307e\u3059\u3002\u540c\u3058\u3088\u3046\u306a\u66f8\u304d\u65b9\u3092\u3059\u308c\u3070\u4ed6\u306e\u74b0\u5883\u5909\u6570\u3082\u4f7f\u3048\u308b\u306e\u3067\u3001\u3072\u306a\u5f62\u3068\u601d\u3063\u3066\u3044\u305f\u3060\u3051\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n<h2 class=\"wp-block-heading\" id=\"e\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306fLineNotify\u306e\u30b5\u30fc\u30d3\u30b9\u7d42\u4e86\u306b\u5408\u308f\u305b\u3066\u3001Notify\u3068\u306e\u6bd4\u8f03\u3084LineMessagingAPI\u3092\u4f7f\u3063\u3066\u4efb\u610f\u306e\u6587\u5b57\u5217\u306e\u9001\u4fe1\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002\u307e\u305f\u3001EPGStation\u3067\u306e\u9023\u643a\u306e\u65b9\u6cd5\u30fb\u30b5\u30f3\u30d7\u30eb\u306e\u7d39\u4ecb\u3001\u74b0\u5883\u5909\u6570\u306e\u4f7f\u3044\u65b9\u306a\u3069EPGStaion\u3067\u4f7f\u3046\u4e0a\u3067\u4efb\u610f\u3067\u5fc5\u8981\u306a\u90e8\u5206\u3082\u4f75\u305b\u3066\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u9001\u4fe1\u6570\u306e\u4e0a\u9650\u304c\u3067\u304d\u305f\u306e\u306f\u6b8b\u5ff5\u3067\u3059\u304c\u3001\u6708200\u901a\u306a\u3089\u307b\u304b\u306e\u958b\u767a\u3092\u3057\u3066\u3044\u308b\u3068\u304b\u3067\u306a\u3044\u9650\u308a\u5341\u5206\u304b\u3068\u601d\u3044\u307e\u3059\u3002\u305d\u308c\u4ee5\u4e0a\u306b\u4f7f\u3046\u306a\u3089\u6709\u6599\u3067\u4f7f\u3063\u3066\u3082\u3088\u3044\u3068\u601d\u3044\u307e\u3059\u3057\u3001Discord\u306e\u3088\u3046\u306a\u5225\u306e\u30c4\u30fc\u30eb\u3067\u4f5c\u308b\u306e\u3082\u3042\u308a\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u9001\u4fe1\u3067\u304d\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u3064\u3044\u3066\u306f\u3001\u7b46\u8005\u306f\u756a\u7d44\u540d\u3068\u653e\u9001\u5c40\u3055\u3048\u4f7f\u3048\u308c\u3070\u5341\u5206\u306a\u306e\u3067\u56f0\u3063\u3066\u3044\u307e\u305b\u3093\u304c\u3001\u307b\u3068\u3093\u3069\u306e\u4eba\u3082\u305d\u3046\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002\u306a\u306e\u3067\u3001\u4eca\u56de\u306e\u8a18\u4e8b\u3092\u8aad\u3093\u3067\u30b3\u30fc\u30c9\u3092\u3072\u306a\u5f62\u306b\u3057\u3066\u6539\u9020\u3059\u308c\u3070\u7c21\u5358\u306b\u601d\u3063\u305f\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0a\u3067\u3059\u3002\u304a\u8aad\u307f\u3044\u305f\u3060\u304d\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n<style>\n.test { width: 320px; height: 100px; }\n@media(min-width: 500px) { .test { width: 468px; height: 60px; } }\n@media(min-width: 800px) { .test { width: 728px; height: 90px; } }\n<\/style>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4541970754535576\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- \u3044\u3064\u3082\u306e\u6b63\u65b9\u5f62\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30eb\u5e83\u544a -->\n<ins class=\"adsbygoogle test\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-4541970754535576\"\n     data-ad-slot=\"5487611343\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u524d\u306bEPGStation\u3092\u4f7f\u7528\u3057\u305f\u74b0\u5883\u3067\u9332\u753b\u5931\u6557\u6642\u306bLineNotify\u3092\u901a\u3058\u3066\u30a8\u30e9\u30fc\u3092\u9001\u308b\u65b9\u6cd5\u3092\u4ee5\u524d\u306b\u8a18\u4e8b\u306b\u3057\u307e\u3057\u305f\u3002 \u3057\u304b\u3057\u3001\u5229\u7528\u3057\u3066\u3044\u308b\u4eba\u306f\u6c17\u304c\u4ed8\u3044\u305f\u3068\u601d\u3044\u307e\u3059\u304c\u3001LineNotify\u306f25\u5e743\u6708\u672b\u3067\u306e\u30b5\u30fc\u30d3\u30b9\u7d42&hellip; <a class=\"more-link\" href=\"https:\/\/www.thun-techblog.com\/index.php\/blog\/epgstation-error-notify-w-line-messaging-api\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">EPGStation\u3067\u306e\u30a8\u30e9\u30fc\u901a\u77e5\u3092Line Messaging API\u3067\u9001\u308b<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[110,15],"tags":[],"class_list":["post-4627","post","type-post","status-publish","format-standard","hentry","category-dtv","category-linux","entry"],"_links":{"self":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts\/4627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/comments?post=4627"}],"version-history":[{"count":5,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts\/4627\/revisions"}],"predecessor-version":[{"id":4745,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/posts\/4627\/revisions\/4745"}],"wp:attachment":[{"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/media?parent=4627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/categories?post=4627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thun-techblog.com\/index.php\/wp-json\/wp\/v2\/tags?post=4627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}