{"id":2831,"date":"2018-11-05T07:00:47","date_gmt":"2018-11-04T22:00:47","guid":{"rendered":"https:\/\/www.ecomottblog.com\/?p=2831"},"modified":"2018-11-02T18:26:37","modified_gmt":"2018-11-02T09:26:37","slug":"line-bot%e3%81%a7svl-200%e3%81%ae%e4%bd%8d%e7%bd%ae%e6%83%85%e5%a0%b1%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%97%e3%81%a6%e3%81%bf%e3%82%8b","status":"publish","type":"post","link":"https:\/\/test.ecomottblog.com\/?p=2831","title":{"rendered":"LINE BOT\u3067SVL-200\u306e\u4f4d\u7f6e\u60c5\u5831\u3092\u8868\u793a\u3057\u3066\u307f\u308b"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002<br \/>\n\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u90e8\u306e\u517c\u5ca1\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001\u5c55\u793a\u4f1a\u306e\u30c7\u30e2\u7528\u306b\u4f5c\u6210\u3057\u305fLINE BOT\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>LINE BOT\u306b\u300c\u4eca\u3069\u3053\uff1f\u300d\u3068\u8a71\u3057\u304b\u3051\u308b\u3068\u3001GPS\u7aef\u672b\u300c<a href=\"https:\/\/www.ecomott.co.jp\/product\/svl200\/\" rel=\"noopener\" target=\"_blank\">SVL-200<\/a>\u300d\u306e\u73fe\u5728\u4f4d\u7f6e\u60c5\u5831\u3092\u6559\u3048\u3066\u304f\u308c\u308b\u3001\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<h3>\u30b7\u30b9\u30c6\u30e0\u69cb\u6210<\/h3>\n<p>SVL-200\u3092\u81ea\u52d5\u8eca\u306b\u8a2d\u7f6e\u3057\u3001\u4f4d\u7f6e\u60c5\u5831\u3092\u8a08\u6e2c\u3057\u307e\u3059\u3002<br \/>\nBOT\u30a2\u30d7\u30ea\u30b5\u30fc\u30d0\u306f <a href=\"https:\/\/www.fastio.jp\/fastio-api\/\" rel=\"noopener\" target=\"_blank\">FASTIO API<\/a> \u3067\u8a08\u6e2c\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3001\u4f4d\u7f6e\u60c5\u5831\u3092\u5fdc\u7b54\u30e1\u30c3\u30bb\u30fc\u30b8\u3067\u8fd4\u5374\u3057\u307e\u3059\u3002<\/p>\n<p>LINE BOT\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u308b\u3068Webhook\u304c\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u3001BOT\u30a2\u30d7\u30ea\u30b5\u30fc\u30d0\u306eWebhook URL\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u9001\u4fe1\u3055\u308c\u308b\u3001\u3068\u3044\u3046\u6d41\u308c\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2837\" src=\"https:\/\/www.ecomottblog.com\/cmswp\/wp-content\/uploads\/2018\/11\/system.png\" alt=\"\" width=\"869\" height=\"315\" srcset=\"https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/system.png 869w, https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/system-300x109.png 300w, https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/system-768x278.png 768w, https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/system-304x110.png 304w, https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/system-282x102.png 282w\" sizes=\"(max-width: 869px) 100vw, 869px\" \/><\/p>\n<h2>\uff11\uff0eLINE Messaging API\u306b\u767b\u9332<\/h2>\n<p><a href=\"https:\/\/developers.line.me\/ja\/services\/messaging-api\/\" rel=\"noopener\" target=\"_blank\">LINE Developers<\/a> \u304b\u3089\u767b\u9332\u3057\u307e\u3059\u3002<br \/>\n\u203b\u4e8b\u524d\u306bLINE\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u767b\u9332\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<h2>\uff12\uff0eLINE Developers\u3067BOT\u306e\u8a2d\u5b9a<\/h2>\n<p>\u767b\u9332\u304c\u5b8c\u4e86\u3059\u308b\u3068\u3001\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u53ca\u3073\u30c1\u30e3\u30cd\u30eb\u306e\u8a2d\u5b9a\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br \/>\n\u30c1\u30e3\u30cd\u30eb\u57fa\u672c\u8a2d\u5b9a\u3067\u5fc5\u8981\u4e8b\u9805\u3092\u5165\u529b\u3001Messaging API\u3092\u4f7f\u7528\u3059\u308b\u306e\u306b\u5fc5\u8981\u306a\u4ee5\u4e0b\u306e\u9805\u76ee\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li>Channel Secret\uff1a\u30c1\u30e3\u30cd\u30eb\u6bce\u306b\u56fa\u6709\u306a\u79d8\u5bc6\u9375\u3067\u3059\u3002<\/li>\n<li>\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\uff08\u30ed\u30f3\u30b0\u30bf\u30fc\u30e0\uff09\uff1aAPI\u3092\u5229\u7528\u3059\u308b\u969b\u306b\u5fc5\u8981\u306a\u30c8\u30fc\u30af\u30f3\u3067\u3059\u3002<br \/>\n\u203b\u30ed\u30f3\u30b0\u30bf\u30fc\u30e0\uff1a\u6709\u52b9\u671f\u9650\u304c\u975e\u5e38\u306b\u9577\u671f\u7684\u306a\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\u3067\u3059\u3002<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-2838\" src=\"https:\/\/www.ecomottblog.com\/cmswp\/wp-content\/uploads\/2018\/11\/line_console1.jpg\" alt=\"\" width=\"80%\" height=\"80%\" srcset=\"https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/line_console1.jpg 1122w, https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/line_console1-164x300.jpg 164w, https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/line_console1-768x1402.jpg 768w, https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/line_console1-561x1024.jpg 561w, https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/line_console1-117x214.jpg 117w, https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/line_console1-142x260.jpg 142w\" sizes=\"(max-width: 1122px) 100vw, 1122px\" \/><\/p>\n<h2>\uff13\uff0eBOT\u4f5c\u6210<\/h2>\n<p><a href=\"https:\/\/github.com\/line\/line-bot-sdk-php\" rel=\"noopener\" target=\"_blank\">SDK of the LINE Messaging API for PHP<\/a> \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u4ee5\u4e0b\u306e\uff12\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>line-bot-sdk-tiny\/LINEBotTiny.php<\/li>\n<li>line-bot-sdk-tiny\/echo_bot.php<\/li>\n<\/ul>\n<p>\u4ee5\u4e0b\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3067\u3059\u3002<br \/>\n<strong>echo_bot.php<\/strong> \u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3092 <strong>index.php<\/strong> \u3078\u5909\u66f4\u3057\u3001\u5185\u5bb9\u3092\u4e00\u90e8\u66f8\u304d\u63db\u3048\u307e\u3057\u305f\u3002<\/p>\n<pre><code>&lt;?php\n\n\/**\n * Copyright 2016 LINE Corporation\n *\n * LINE Corporation licenses this file to you under the Apache License,\n * version 2.0 (the \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at:\n *\n *   https:\/\/www.apache.org\/licenses\/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations\n * under the License.\n *\/\n\nrequire_once('.\/LINEBotTiny.php');\nrequire_once('.\/FastioApi.php');\nrequire_once('.\/GeoLocation.php');\n\n$channelAccessToken = '&lt;your channel access token&gt;';\n$channelSecret = '&lt;your channel secret&gt;';\n\n$baseUrl = '&lt;FASTIO API URL&gt;';\n$code = '&lt;FASTIO API\u8a8d\u8a3c\u30b3\u30fc\u30c9&gt;';\n$clientId = '&lt;FASTIO \u30af\u30e9\u30a4\u30a2\u30f3\u30c8ID&gt;';\n$termId = '&lt;FASTIO \u7aef\u672bID&gt;';\n\n$client = new LINEBotTiny($channelAccessToken, $channelSecret);\nforeach ($client-&gt;parseEvents() as $event) {\n    switch ($event['type']) {\n        case 'message':\n            $message = $event['message'];\n            switch ($message['type']) {\n                case 'text':\n                    if ((strpos($message['text'], '\u3069\u3053') !== false) || (strpos($message['text'], '\u4f4d\u7f6e') !== false)) {\n                        $conf = array(\n                            'BASE_URL' =&gt; $baseUrl,\n                            'DRIVER' =&gt; 'curl',\n                            'CODE' =&gt; $code,\n                            'CLIENT_ID' =&gt; $clientId,\n                        );\n\n                        \/\/ FASTIO API \u7aef\u672b\u73fe\u5728\u5730\u30c7\u30fc\u30bf\u53d6\u5f97\n                        \/\/ API\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\u306e\u53d6\u5f97\u3001\u6700\u65b0\u7aef\u672b\u73fe\u5728\u5730\u30c7\u30fc\u30bf\u306e\u53d6\u5f97\u3092\u884c\u3044\u307e\u3059\n                        $api = new FastioApi($conf);\n                        $res = $api-&gt;getNewest($termId);\n\n                        if (isset($res['newest'][0]['s_time'])) {\n                            $data = $res['newest'][0];\n\n                            \/\/ \u7def\u5ea6\u7d4c\u5ea6\u306b\u3088\u308b\u4f4f\u6240\u691c\u7d22\n                            $geo = new GeoLocation();\n                            $address = $geo-&gt;searchByGeoLocation($data);\n\n                            $client-&gt;replyMessage([\n                                'replyToken' =&gt; $event['replyToken'],\n                                'messages' =&gt; [\n                                    [\n                                        'type' =&gt; 'location',\n                                        'title' =&gt; '\u4f4d\u7f6e\u60c5\u5831',\n                                        'address' =&gt; $address,\n                                        'latitude' =&gt; $data['latitude'],\n                                        'longitude' =&gt; $data['longitude']\n                                    ]\n                                ]\n                            ]);\n                        }\n                        else {\n                            $client-&gt;replyMessage([\n                                'replyToken' =&gt; $event['replyToken'],\n                                'messages' =&gt; [\n                                    [\n                                        'type' =&gt; 'text',\n                                        'text' =&gt; '24\u6642\u9593\u4ee5\u5185\u306e\u8a08\u6e2c\u30c7\u30fc\u30bf\u304c\u3042\u308a\u307e\u305b\u3093\u3002'\n                                    ]\n                                ]\n                            ]);\n                        }\n                    }\n                    break;\n                default:\n                    error_log('Unsupported message type: ' . $message['type']);\n                    break;\n            }\n            break;\n        default:\n            error_log('Unsupported event type: ' . $event['type']);\n            break;\n    }\n};\n<\/code><\/pre>\n<p>LINE Developers\u306e\u30c1\u30e3\u30cd\u30eb\u57fa\u672c\u8a2d\u5b9a\u3067\u78ba\u8a8d\u3057\u305f\u3001\u79d8\u5bc6\u9375\u3068\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\u3092\u305d\u308c\u305e\u308c\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n<pre><code>$channelAccessToken = '&lt;your channel access token&gt;';\n$channelSecret = '&lt;your channel secret&gt;';\n<\/code><\/pre>\n<p>FASTIO API\u3092\u5229\u7528\u3057\u3066\u8a08\u6e2c\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<br \/>\n\u7aef\u672b\u306e\u73fe\u5728\u5730\u30c7\u30fc\u30bf\u53d6\u5f97API\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/www.ecomottblog.com\/?p=558\" rel=\"noopener\" target=\"_blank\">5\u5206\u3067\u308f\u304b\u308bFASTIO API\u3000\uff5e\u4f4d\u7f6e\u60c5\u5831\u3092GoogleMAP\u306b\u8868\u793a\u3057\u3066\u307f\u308b\uff5e<\/a> \u306b\u3066\u7d39\u4ecb\u3057\u3066\u307e\u3059\u3002<\/p>\n<pre><code>\/\/ FASTIO \u7aef\u672b\u73fe\u5728\u5730\u30c7\u30fc\u30bf\u53d6\u5f97 API\n\/\/ API\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\u306e\u53d6\u5f97\u3001\u6700\u65b0\u7aef\u672b\u73fe\u5728\u5730\u30c7\u30fc\u30bf\u306e\u53d6\u5f97\u3092\u884c\u3044\u307e\u3059\n$api = new FastioApi($conf);\n$res = $api-&gt;getNewest($termId);\n<\/code><\/pre>\n<p>Messaging API\u304b\u3089\u306e\u5fdc\u7b54\u30e1\u30c3\u30bb\u30fc\u30b8\u7b49\u306f <a href=\"https:\/\/developers.line.me\/ja\/reference\/messaging-api\/\" rel=\"noopener\" target=\"_blank\">Messaging API\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9<\/a> \u3092\u53c2\u7167\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre><code>$client-&gt;replyMessage([\n    'replyToken' =&gt; $event['replyToken'],\n    'messages' =&gt; [\n        [\n            'type' =&gt; 'location',\n            'title' =&gt; '\u4f4d\u7f6e\u60c5\u5831',\n            'address' =&gt; $address,\n            'latitude' =&gt; $data['latitude'],\n            'longitude' =&gt; $data['longitude']\n        ]\n    ]\n]);\n<\/code><\/pre>\n<h2>\uff14\uff0eBOT\u30a2\u30d7\u30ea\u30b5\u30fc\u30d0\u306b\u30bd\u30fc\u30b9\u3092\u30c7\u30d7\u30ed\u30a4<\/h2>\n<p>\u30c7\u30d7\u30ed\u30a4\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u5272\u611b\u3057\u307e\u3059\u3002<br \/>\n\u4eca\u56de\u306f\u5f0a\u793e\u958b\u767a\u30b5\u30fc\u30d0\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u304c\u3001Messaging API\u3092\u8a66\u3059\u4f8b\u3068\u3057\u3066 <a href=\"https:\/\/jp.heroku.com\/\" rel=\"noopener\" target=\"_blank\">heroku<\/a> \u3092\u5229\u7528\u3059\u308b\u30b1\u30fc\u30b9\u304c\u591a\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n<h2>\uff15\uff0eWebhook URL\u306e\u8a2d\u5b9a<\/h2>\n<p>Webhook URL\u306bBOT\u306e\u30a2\u30af\u30bb\u30b9URL\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\nLINE BOT\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u4fe1\u3059\u308b\u3068\u3001\u3053\u306eURL\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u9001\u3089\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-2839\" src=\"https:\/\/www.ecomottblog.com\/cmswp\/wp-content\/uploads\/2018\/11\/line_console2.jpg\" alt=\"\" width=\"80%\" height=\"80%\" srcset=\"https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/line_console2.jpg 1440w, https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/line_console2-300x96.jpg 300w, https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/line_console2-768x245.jpg 768w, https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/line_console2-1024x327.jpg 1024w, https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/line_console2-304x97.jpg 304w, https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/line_console2-282x90.jpg 282w\" sizes=\"(max-width: 1440px) 100vw, 1440px\" \/><\/p>\n<h2>\uff16\uff0e\u52d5\u4f5c\u78ba\u8a8d<\/h2>\n<p>LINE BOT\u306b\u300c\u4eca\u3069\u3053\uff1f\u300d\u3068\u8a71\u3057\u304b\u3051\u308b\u3053\u3068\u3067\u3001\u4f4d\u7f6e\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\uff01<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-2840\" src=\"https:\/\/www.ecomottblog.com\/cmswp\/wp-content\/uploads\/2018\/11\/bot.png\" alt=\"\" width=\"80%\" height=\"80%\" srcset=\"https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/bot.png 750w, https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/bot-300x279.png 300w, https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/bot-230x214.png 230w, https:\/\/test.ecomottblog.com\/wp-content\/uploads\/2018\/11\/bot-279x260.png 279w\" sizes=\"(max-width: 750px) 100vw, 750px\" \/><\/p>\n<h2>\u6700\u5f8c\u306b<\/h2>\n<p>\u4eca\u56de\u306f\u3001SVL-200\u3067\u4f4d\u7f6e\u60c5\u5831\u3092\u53d6\u5f97\u3057\u307e\u3057\u305f\u304c\u3001\u4f8b\u3048\u3070\u3001\u6e29\u6e7f\u5ea6\u8a08\u3092\u8a2d\u7f6e\u3057\u3066\u5ba4\u6e29\u3092\u898b\u308b\u3001\u306f\u304b\u308a\u8a08\u3092\u7528\u3044\u3066\u30e2\u30ce\u306e\u6b8b\u91cf\u3092\u78ba\u8a8d\u3059\u308b\u7b49\u3001\u69d8\u3005\u306a\u4f7f\u3044\u65b9\u304c\u3067\u304d\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0a\u3001FASTIO\u3068LINE Messaging API\u3092\u5229\u7528\u3057\u305f\u4e00\u4f8b\u306e\u3054\u7d39\u4ecb\u3067\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002 \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u90e8\u306e\u517c\u5ca1\u3067\u3059\u3002 \u4eca\u56de\u306f\u3001\u5c55\u793a\u4f1a\u306e\u30c7\u30e2\u7528\u306b\u4f5c\u6210\u3057\u305fLINE BOT\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002 LINE BOT\u306b\u300c\u4eca\u3069\u3053\uff1f\u300d\u3068\u8a71\u3057\u304b\u3051\u308b\u3068\u3001GPS\u7aef\u672b\u300cSVL-200\u300d\u306e\u73fe\u5728\u4f4d\u7f6e\u60c5\u5831\u3092\u6559\u3048\u3066\u304f\u308c\u308b\u3001\u3068\u3044 [&hellip;]<\/p>\n","protected":false},"author":38,"featured_media":2840,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"_links":{"self":[{"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts\/2831"}],"collection":[{"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2831"}],"version-history":[{"count":63,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts\/2831\/revisions"}],"predecessor-version":[{"id":3682,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts\/2831\/revisions\/3682"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/media\/2840"}],"wp:attachment":[{"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2831"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2831"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2831"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}