{"id":12743,"date":"2024-06-23T07:00:00","date_gmt":"2024-06-22T22:00:00","guid":{"rendered":"https:\/\/blog.capilano-fw.com\/?p=12743"},"modified":"2024-06-20T06:12:41","modified_gmt":"2024-06-19T21:12:41","slug":"laravel-google%e3%83%9e%e3%83%83%e3%83%97%e3%81%b8%e5%8f%a3%e3%82%b3%e3%83%9f%e8%aa%98%e5%b0%8e%e3%81%99%e3%82%8b%e6%96%bd%e7%ad%96","status":"publish","type":"post","link":"https:\/\/blog.capilano-fw.com\/?p=12743","title":{"rendered":"\u3010Laravel\u3011Google\u30de\u30c3\u30d7\u306e\u30af\u30c1\u30b3\u30df\u65bd\u7b56\u3092\u30d3\u30a2\u30d0\u30fc50\u4ef6\u56de\u3063\u3066\u8003\u3048\u3066\u307f\u305f"},"content":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u30d3\u30fc\u30eb\u91b8\u9020\u6240\u3092\u7d2f\u8a08 50\u4ef6\u4ee5\u4e0a\u56de\u3063\u305f\u3053\u3068\u304c\u3042\u308b\u79c1\u304c\u3001IT\u3092\u6d3b\u7528\u3057\u3066\u3053\u3093\u306a\u65bd\u7b56\u3092\u3084\u3063\u305f\u3089\u3069\u3046\u3060\u308d\u3046\uff1f\u3068\u601d\u3046\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u306f\u3001\u7279\u306b\u98f2\u98df\u5e97\u306e\u3088\u3046\u306a\u5b9f\u5e97\u8217\u30d3\u30b8\u30cd\u30b9\u306b\u91cd\u8981\u306a\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u540d\u524d\u3092\u805e\u3044\u305f\u3053\u3068\u306f\u3042\u308b\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p><strong style=\"font-size: 35px;\">MEO\uff08\u30de\u30c3\u30d7\u30fb\u30a8\u30f3\u30b8\u30f3\u30fb\u30aa\u30d7\u30c6\u30a3\u30de\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3\uff09<\/strong><\/p>\n<p>\u3064\u307e\u308a<strong>\u300cGoogle\u30de\u30c3\u30d7\u306b\u7279\u5316\u3057\u3066<\/strong>\u300d\u81ea\u5206\u306e\u304a\u5e97\u3092\u512a\u4f4d\u306b\u3059\u308b\u65bd\u7b56\u306e\u3053\u3068\u3067\u3059\u3002\u3068\u3044\u3046\u306e\u3082\u3001\u98f2\u98df\u5e97\u3092\u63a2\u3059\u3068\u304d\u3088\u304f\u4f7f\u308f\u308c\u308b\u306e\u304c\u300c<strong>Google\u30de\u30c3\u30d7<\/strong>\u300d\u3060\u304b\u3089\u306a\u3093\u3067\u3059\u306d\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u300c<strong>\u98f2\u98df\u5e97\u306fMEO\u30b2\u30fc\uff08MEO\u304c\u6700\u3082\u5927\u4e8b\u306a\u30b2\u30fc\u30e0\uff09<\/strong>\u300d\u3068\u89e3\u8aac\u3057\u3066\u3044\u308b\u30de\u30fc\u30b1\u30bf\u30fc\u3055\u3093\u3082\u3044\u308b\u3050\u3089\u3044\u5f71\u97ff\u304c\u5927\u304d\u3044\u306e\u3067\u3001\u3053\u3053\u3092\u653b\u7565\u3059\u308b\u3053\u3068\u304c\u98f2\u98df\u5e97\u306b\u3068\u3063\u3066\u3082\u58f2\u4e0a\u306b\u3064\u306a\u304c\u308b\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001<code>MEO<\/code>\u3067\u306f\u8a55\u4fa1\u306e\u3044\u3044\u30af\u30c1\u30b3\u30df\u304c\u91cd\u8981\u306a\u6307\u6a19\u306b\u306a\u3063\u3066\u3044\u308b\u3068\u8a00\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u2757<\/p>\n<p>\u4eca\u56de\u306f<code>Laravel<\/code>\u3092\u4f7f\u3063\u3066\u300c<strong>\u30af\u30c1\u30b3\u30df\u3092\u5897\u3084\u3059\u65bd\u7b56<\/strong>\u300d\u3092\u5b9f\u88c5\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305c\u3072\u6700\u5f8c\u307e\u3067\u8aad\u3093\u3067\u304f\u3060\u3055\u3044\u306d\u3002\ud83d\ude0a\u2728<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9470 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/08\/no_13.png\" alt=\"\" width=\"294\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/08\/no_13.png 294w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2021\/08\/no_13-276x300.png 276w\" sizes=\"auto, (max-width: 294px) 100vw, 294px\" \/>\u300c\u30a6\u30a7\u30b9\u30c8\u30b3\u30fc\u30b9\u30c8\u7cfb<br \/>\n\u306e\u30af\u30e9\u30d5\u30c8\u30d3\u30fc\u30eb\ud83c\udf7a<br \/>\n\u3046\u307e\u3044\u3088\u306d\u3047\uff01\uff01\uff01\u300d<\/p>\n<p><strong>\u958b\u767a\u74b0\u5883\uff1a<\/strong> Laravel 11.x<\/p>\n<h2>\u3010\u524d\u63d0\u3068\u3057\u3066\u3011Google \u30de\u30c3\u30d7\u306e\u30af\u30c1\u30b3\u30df\u65bd\u7b56\u306b\u306f LINE Messaging API \u3092\u4f7f\u3046<\/h2>\n<p>\u4eca\u56de\u306e\u65bd\u7b56\u306f\u4ee5\u4e0b\u306e\u6d41\u308c\u3067\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u4f1a\u8a08\u306e\u3068\u304d LINE\u516c\u5f0f\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u304a\u53cb\u9054\u306b\u306a\u3063\u3066\u3082\u3089\u3046<\/li>\n<li>\u5e30\u5b85\u3057\u305f\u3050\u3089\u3044\u3092\u898b\u8a08\u3089\u3063\u3066\u30a2\u30d5\u30bf\u30fc\u30d5\u30a9\u30ed\u30fc<\/li>\n<li>Google \u30de\u30c3\u30d7\u3078\u306e\u30ec\u30d3\u30e5\u30fc\u6295\u7a3f\u3092\u4f9d\u983c\u3059\u308b<\/li>\n<\/ol>\n<p>\u203b \u305f\u3060\u3057\u30bf\u30a4\u30de\u30fc\u3092\u5b9f\u88c5\u3059\u308b\u3068\u8907\u96d1\u3059\u304e\u308b\u306e\u3067\u3001\u4eca\u56de\u306f\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8fd4\u4fe1\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001<code>LINE Messaging API<\/code>\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u524d\u63d0\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u898b\u3066\u3001\u6e96\u5099\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ul>\n<li>LINE Messaging API \u3092\u6709\u52b9\u306b\u3059\u308b<\/li>\n<li>\u30a6\u30a7\u30d6\u30d5\u30c3\u30af\u3092\u6709\u52b9\u306b\u3059\u308b<\/li>\n<li>\u30d1\u30c3\u30b1\u30fc\u30b8\u300c<strong>linecorp\/line-bot-sdk<\/strong>\u300d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/li>\n<li>CSRF\u30c8\u30fc\u30af\u30f3\u306e\u30c1\u30a7\u30c3\u30af\u3092\u89e3\u9664<\/li>\n<\/ul>\n<p><strong>\ud83d\udcdd \u53c2\u8003\u30da\u30fc\u30b8\uff11\uff1a<\/strong>\u00a0<a href=\"https:\/\/blog.capilano-fw.com\/?p=12168\" target=\"_blank\" rel=\"noopener\">Line Messaging API \u3067\u753b\u50cf\u3064\u304d\u901a\u5831\u30b7\u30b9\u30c6\u30e0\u3092\u3064\u304f\u308b\uff08\u795e\u6238\u5e02\u306b\u5f71\u97ff\u3055\u308c\u3066\uff09<\/a><\/p>\n<p><strong>\ud83d\udcdd \u53c2\u8003\u30da\u30fc\u30b8\uff12\uff1a<\/strong>\u00a0<a href=\"https:\/\/blog.capilano-fw.com\/?p=12168#_ngrok\" target=\"_blank\" rel=\"noopener\">\u304a\u307e\u3051\uff1a ngrok \u306b\u3064\u3044\u3066<\/a><\/p>\n<p><strong>\ud83d\udcdd \u53c2\u8003\u30da\u30fc\u30b8\uff13\uff1a<\/strong>\u00a0<a href=\"https:\/\/blog.capilano-fw.com\/?p=12538#CSRF\" target=\"_blank\" rel=\"noopener\">CSRF\u30c8\u30fc\u30af\u30f3\u306e\u30c1\u30a7\u30c3\u30af\u3092\u89e3\u9664\u3059\u308b<\/a><\/p>\n<p>\u203b\u306a\u304a\u3001<code>Laravel 11.x<\/code>\u304b\u3089<code>CSRF<\/code>\u30c8\u30fc\u30af\u30f3\u89e3\u9664\u306e\u8a2d\u5b9a\u65b9\u6cd5\u304c\u5909\u308f\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>Google \u30de\u30c3\u30d7\u306e\u30af\u30c1\u30b3\u30df URL \u3092\u53d6\u5f97\u3057\u3066\u304a\u304f<\/h2>\n<p>\u307e\u305a\u3001\u7279\u5b9a\u306e\u304a\u5e97\u306e\u30ec\u30d3\u30e5\u30fc\u6295\u7a3f\u304c\u3059\u3050\u3067\u304d\u308b<code>URL<\/code>\u3092\u5148\u306b\u53d6\u5f97\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u624b\u9806\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<h3>Google \u30de\u30c3\u30d7\u3067\u5bfe\u8c61\u306e\u304a\u5e97\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b<\/h3>\n<p>\u30af\u30c1\u30b3\u30df\u3092\u6295\u7a3f\u3055\u305b\u305f\u3044\u304a\u5e97\u3092<code>Google<\/code>\u30de\u30c3\u30d7\u3067\u691c\u7d22\u3057\u3001\u8a73\u7d30\u3092\u8868\u793a\u3059\u308b<\/p>\n<h3>\u300c\u5171\u6709\u300d\u3092\u30af\u30ea\u30c3\u30af<\/h3>\n<p>\u8a73\u7d30\u306e\u4e2d\u306b\u3042\u308b\u300c\u5171\u6709\u3092\u30af\u30ea\u30c3\u30af\u300d\u3059\u308b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12747\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/06\/laravel_meo_for_restaurant_1.png\" alt=\"\" width=\"406\" height=\"196\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/06\/laravel_meo_for_restaurant_1.png 406w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/06\/laravel_meo_for_restaurant_1-300x145.png 300w\" sizes=\"auto, (max-width: 406px) 100vw, 406px\" \/><\/p>\n<h3>\u30af\u30c1\u30b3\u30df\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af<\/h3>\n<p>\u300c\u5730\u56f3\u3092\u57cb\u3081\u8fbc\u3080\u300d\u30bf\u30d6\u3092\u9078\u629e\u3057\u3001\u53e3\u30b3\u30df\u306e\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12748\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/06\/laravel_meo_for_restaurant_2.png\" alt=\"\" width=\"638\" height=\"326\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/06\/laravel_meo_for_restaurant_2.png 638w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/06\/laravel_meo_for_restaurant_2-300x153.png 300w\" sizes=\"auto, (max-width: 638px) 100vw, 638px\" \/><\/p>\n<h3>\u30af\u30c1\u30b3\u30df\u3092\u66f8\u304f\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af<\/h3>\n<p>\u3059\u308b\u3068\u3001\u30af\u30c1\u30b3\u30df\u306e\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u304c\u51fa\u308b\u306e\u3067\u53f3\u4e0a\u306e\u300c\u30af\u30c1\u30b3\u30df\u3092\u66f8\u304f\u300d\u3092\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12749\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/06\/laravel_meo_for_restaurant_3.png\" alt=\"\" width=\"640\" height=\"267\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/06\/laravel_meo_for_restaurant_3.png 640w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/06\/laravel_meo_for_restaurant_3-300x125.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<h3>URL\u3092\u53d6\u5f97<\/h3>\n<p>\u8868\u793a\u304c\u5909\u308f\u3063\u305f\u3089\u3001\u305d\u306e\u72b6\u614b\u3067\u30d6\u30e9\u30a6\u30b6\u306e<code>URL<\/code>\u3092\u53d6\u5f97\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\u3053\u306e<code>URL<\/code>\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3044\u304d\u306a\u308a\u30ec\u30d3\u30e5\u30fc\u30d5\u30a9\u30fc\u30e0\u304c\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u203b\u305f\u3060\u3057\u3001<code>Google<\/code>\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3067\u306f\u3001\u5fd8\u308c\u306a\u3044\u3088\u3046\u306b<code>.env<\/code>\u3078\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30bb\u30c3\u30c8\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<div>\n<pre><strong>GOOGLE_MAP_REVIEW_URL=\"\uff08\u3053\u3053\u306b\u3042\u306a\u305f\u306eURL\uff09\"<\/strong><\/pre>\n<\/div>\n<h2>Google \u30de\u30c3\u30d7\u306e\u30af\u30c1\u30b3\u30df\u3092\u8fd4\u4fe1\u3059\u308b\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u3064\u304f\u308b<\/h2>\n<p>\u3067\u306f\u3001<code>LINE<\/code>\u304b\u3089\u30a6\u30a7\u30d6\u30d5\u30c3\u30af\u304c\u6765\u305f\u3089\u81ea\u52d5\u3067<code>Google<\/code>\u30de\u30c3\u30d7\u306e<code>URL<\/code>\u3092\u8fd4\u4fe1\u3059\u308b\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u3064\u304f\u308a\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\n<pre><strong>php artisan make:controller LineWebhookController<\/strong><\/pre>\n<p>\u305d\u3057\u3066\u3001\u4f5c\u6210\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><strong>app\/Http\/Controllers\/LineWebhookController.php<\/strong><\/p>\n<div>\n<pre><strong>&lt;?php<\/strong>\r\n\r\n<strong>namespace App\\Http\\Controllers;<\/strong>\r\n\r\n<strong>use GuzzleHttp\\Client as GuzzleClient;<\/strong>\r\n<strong>use Illuminate\\Http\\Request;<\/strong>\r\n<strong>use LINE\\Clients\\MessagingApi\\Configuration;<\/strong>\r\n<strong>use LINE\\Clients\\MessagingApi\\Api\\MessagingApiApi;<\/strong>\r\n<strong>use LINE\\Clients\\MessagingApi\\Model\\ReplyMessageRequest;<\/strong>\r\n<strong>use LINE\\Clients\\MessagingApi\\Model\\TextMessage;<\/strong>\r\n<strong>use LINE\\Parser\\EventRequestParser;<\/strong>\r\n<strong>use LINE\\Webhook\\Model\\FollowEvent;<\/strong>\r\n\r\n<strong>class LineWebhookController extends Controller<\/strong>\r\n<strong>{<\/strong>\r\n<strong>    private $channel_secret, $access_token;<\/strong>\r\n\r\n<strong>    public function __construct()<\/strong>\r\n<strong>    {<\/strong>\r\n<strong>        $this-&gt;channel_secret = env('LINE_CHANNEL_SECRET'); \/\/ \u672c\u6765\u306f config \u304b\u3089\u53d6\u5f97\u3059\u3079\u304d\u3067\u3059<\/strong>\r\n<strong>        $this-&gt;access_token = env('LINE_ACCESS_TOKEN'); \/\/ \u672c\u6765\u306f config \u304b\u3089\u53d6\u5f97\u3059\u3079\u304d\u3067\u3059<\/strong>\r\n<strong>    }<\/strong>\r\n\r\n<strong>    public function receive(Request $request)<\/strong>\r\n<strong>    {<\/strong>\r\n<strong>        logger($this-&gt;channel_secret);<\/strong>\r\n<strong>        $request_body = $request-&gt;getContent();<\/strong>\r\n<strong>        $hash = hash_hmac('sha256', $request_body, $this-&gt;channel_secret, true);<\/strong>\r\n<strong>        $signature = base64_encode($hash);<\/strong>\r\n\r\n<strong>        if($signature === $request-&gt;header('X-Line-Signature')) {<\/strong>\r\n\r\n<strong>            $client = new GuzzleClient;<\/strong>\r\n<strong>            $config = new Configuration();<\/strong>\r\n<strong>            $config-&gt;setAccessToken($this-&gt;access_token);<\/strong>\r\n\r\n<strong>            $this-&gt;api = new MessagingApiApi(<\/strong>\r\n<strong>                client: $client,<\/strong>\r\n<strong>                config: $config,<\/strong>\r\n<strong>            );<\/strong>\r\n\r\n<strong>            try {<\/strong>\r\n\r\n<strong>                $event_parser = EventRequestParser::parseEventRequest($request_body, $this-&gt;channel_secret, $signature);<\/strong>\r\n\r\n<strong>                foreach($event_parser-&gt;getEvents() as $event) {<\/strong>\r\n\r\n<strong>                    if($event instanceof FollowEvent) { \/\/ \u304a\u53cb\u9054\u306e\u767b\u9332\u3057\u305f\u3068\u304d<\/strong>\r\n\r\n<strong>                        $reply_token = $event-&gt;getReplyToken();<\/strong>\r\n<strong>                        $line_id = $event-&gt;getSource()-&gt;getUserId();<\/strong>\r\n<strong>                        $mode = $event-&gt;getMode();<\/strong>\r\n<strong>                        $profile = $this-&gt;api-&gt;getProfile($line_id);<\/strong>\r\n<strong>                        $display_name = $profile-&gt;getDisplayName();<\/strong>\r\n\r\n<strong>                        if(is_null($line_id) || is_null($mode)) {<\/strong>\r\n\r\n<strong>                            continue;<\/strong>\r\n\r\n<strong>                        }<\/strong>\r\n\r\n<strong>                        $google_map_review_url = env('GOOGLE_MAP_REVIEW_URL');<\/strong>\r\n<strong>                        $text = view('line_webhook.google_map_review', [<\/strong>\r\n<strong>                            'display_name' =&gt; $display_name,<\/strong>\r\n<strong>                            'google_map_review_url' =&gt; $google_map_review_url,<\/strong>\r\n<strong>                        ])-&gt;render();<\/strong>\r\n<strong>                        $this-&gt;replyText($reply_token, $text);<\/strong>\r\n\r\n<strong>                    }<\/strong>\r\n\r\n<strong>                }<\/strong>\r\n\r\n<strong>            } catch (\\Exception $e) {}<\/strong>\r\n\r\n<strong>        } else {<\/strong>\r\n\r\n<strong>            abort(404);<\/strong>\r\n\r\n<strong>        }<\/strong>\r\n<strong>    }<\/strong>\r\n\r\n<strong>    private function replyText(string $reply_token, string $text)<\/strong>\r\n<strong>    {<\/strong>\r\n<strong>        $message = new TextMessage([<\/strong>\r\n<strong>            'type' =&gt; 'text',<\/strong>\r\n<strong>            'text' =&gt; $text,<\/strong>\r\n<strong>        ]);<\/strong>\r\n<strong>        $request = new ReplyMessageRequest([<\/strong>\r\n<strong>            'replyToken' =&gt; $reply_token,<\/strong>\r\n<strong>            'messages' =&gt; [$message],<\/strong>\r\n<strong>        ]);<\/strong>\r\n\r\n<strong>        $this-&gt;api-&gt;replyMessage($request);<\/strong>\r\n<strong>    }<\/strong>\r\n<strong>}<\/strong><\/pre>\n<\/div>\n<\/div>\n<div>\n<p>\u3053\u306e\u4e2d\u3067\u306fLINE\u30a6\u30a7\u30d6\u30d5\u30c3\u30af\u306e\u57fa\u672c\u7684\u306a\u8fd4\u4fe1\u3092\u3057\u3066\u3044\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<\/div>\n<h2>Google \u30de\u30c3\u30d7\u306e\u30af\u30c1\u30b3\u30df\u3092\u3046\u306a\u304c\u3059\u8fd4\u4fe1\u30c6\u30ad\u30b9\u30c8\u3092\u3064\u304f\u308b<\/h2>\n<p>\u3067\u306f\u3001\u5148\u307b\u3069\u306e<code>LineWebhookController<\/code>\u3067\u30bb\u30c3\u30c8\u3057\u305f\u300c\u30af\u30c1\u30b3\u30df\u3092\u4fc3\u3059\u6587\u7ae0\u300d\u3092<code>blade<\/code>\u3067\u3064\u304f\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\n<pre><strong>php artisan make:view line_webhook.google_map_review<\/strong><\/pre>\n<p>\u3059\u308b\u3068\u3001\u30d3\u30e5\u30fc\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u308b\u306e\u3067\u4e2d\u8eab\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<p><strong>resources\/views\/line_webhook\/google_map_review.blade.php<\/strong><\/p>\n<div>\n<pre><strong>{{ $display_name }} \u3055\u3093\u3001\u672c\u65e5\u306f\u300c\u30d3\u30a2\u30d0\u30fc\u3059\u3053\u3072\u300d\u3078\u3054\u6765\u5e97\u3044\u305f\u3060\u304d\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\uff01<\/strong>\r\n\r\n<strong>\u304a\u5e97\u72ec\u81ea\u3067\u91b8\u9020\u3057\u3066\u3044\u308b\u30d3\u30fc\u30eb\u306e\u304a\u5473\u306f\u3044\u304b\u304c\u3067\u3057\u305f\u304b\uff1f<\/strong>\r\n<strong>\u305c\u3072\u3001Google\u30de\u30c3\u30d7\u306b\u3066\u304a\u5e97\u306e\u30af\u30c1\u30b3\u30df\u3092\u6295\u7a3f\u3057\u3066\u3044\u305f\u3060\u3051\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\uff01<\/strong>\r\n\r\n<strong>Google \u30de\u30c3\u30d7\u306b\u611f\u60f3\u3092\u66f8\u304d\u8fbc\u3080<\/strong>\r\n<strong> \u2193\u2193\u2193<\/strong>\r\n<strong>{{ $google_map_review_url }}<\/strong>\r\n\r\n<strong>\u307e\u305f\u3001\u5f53\u5e97\u516c\u5f0f\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u30b7\u30e7\u30c3\u30d7\u3082\u3054\u3056\u3044\u307e\u3059\u306e\u3067\u3001\u304a\u6c17\u8efd\u306b\u3054\u5229\u7528\u304f\u3060\u3055\u3044\u3002<\/strong>\r\n<strong>\u30aa\u30f3\u30e9\u30a4\u30f3\u30b7\u30e7\u30c3\u30d7\u306f\u3053\u3061\u3089<\/strong>\r\n<strong> \u2193\u2193\u2193<\/strong>\r\n<strong>https:\/\/sukohi-beer-bar.example.com<\/strong>\r\n\r\n<strong>\u4eca\u5f8c\u3068\u3082\u300c\u30d3\u30a2\u30d0\u30fc\u3059\u3053\u3072\u300d\u3092\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3044\u305f\u3057\u307e\u3059\uff01<\/strong><\/pre>\n<p>\u3061\u306a\u307f\u306b\u3001\u3053\u306e\u4e2d\u306e<code>$google_map_review_url<\/code>\u306e\u90e8\u5206\u304c\u5148\u307b\u3069<code>Google<\/code>\u30de\u30c3\u30d7\u3067\u53d6\u5f97\u3057\u305f<code>URL<\/code>\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>Google \u30de\u30c3\u30d7\u306e\u30af\u30c1\u30b3\u30df\u8fd4\u4fe1\u3059\u308b\u305f\u3081\u306e\u30eb\u30fc\u30c8\u3092\u3064\u304f\u308b<\/h2>\n<p>\u3067\u306f\u3001\u5148\u307b\u3069\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u304c\u30a6\u30a7\u30d6\u30d5\u30c3\u30af\u3068\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u30eb\u30fc\u30c8\u3092\u767b\u9332\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<div>\n<pre>&lt;?php\r\n\r\nuse Illuminate\\Support\\Facades\\Route;\r\n<strong>use App\\Http\\Controllers\\LineWebhookController;<\/strong>\r\n\r\n<strong>Route::post('line_webhook', [LineWebhookController::class, 'receive']);<\/strong><\/pre>\n<\/div>\n<h2>Google \u30de\u30c3\u30d7\u306e\u30af\u30c1\u30b3\u30df\u8fd4\u4fe1\u3059\u308b\u30a6\u30a7\u30d6\u30d5\u30c3\u30af\u306e CSRF \u30d6\u30ed\u30c3\u30af\u3092\u89e3\u9664\u3059\u308b<\/h2>\n<p><code>Laravel<\/code>\u306f\u521d\u671f\u72b6\u614b\u3067\u306f<code>CSRF<\/code>\u653b\u6483\u304c\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u5fc5\u305a\u30c8\u30fc\u30af\u30f3\u4ed8\u304d\u3067\u3057\u304b\u30d5\u30a9\u30fc\u30e0\u9001\u4fe1\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u3053\u308c\u3060\u3068\u30a6\u30a7\u30d6\u30d5\u30c3\u30af\u3082\u62d2\u5426\u3055\u308c\u3066\u3057\u307e\u3046\u306e\u3067\u30a6\u30a7\u30d6\u30d5\u30c3\u30af\u306e<code>URL<\/code>\u3092\u89e3\u9664\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p><strong>bootstrap\/app.php<\/strong><\/p>\n<div>\n<pre>&lt;?php\r\n\r\nuse Illuminate\\Foundation\\Application;\r\nuse Illuminate\\Foundation\\Configuration\\Exceptions;\r\nuse Illuminate\\Foundation\\Configuration\\Middleware;\r\n\r\nreturn Application::configure(basePath: dirname(__DIR__))\r\n    -&gt;withRouting(\r\n        web: __DIR__.'\/..\/routes\/web.php',\r\n        commands: __DIR__.'\/..\/routes\/console.php',\r\n        health: '\/up',\r\n    )\r\n    -&gt;withMiddleware(function (Middleware $middleware) {\r\n<strong>        $middleware-&gt;validateCsrfTokens(except: [ \/\/ \ud83d\udc48 \u3053\u3053\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f<\/strong>\r\n<strong>            'line_webhook',<\/strong>\r\n<strong>        ]);<\/strong>\r\n    })\r\n    -&gt;withExceptions(function (Exceptions $exceptions) {\r\n        \/\/\r\n    })-&gt;create();<\/pre>\n<p><code>Laravel 11.x<\/code>\u304b\u3089\u8a2d\u5b9a\u304c\u5909\u66f4\u306b\u306a\u308a\u307e\u3057\u305f\u306d\u3002<br \/>\n\u6c17\u3092\u3064\u3051\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n<p>\u3053\u308c\u3067\u4f5c\u696d\u306f\u5b8c\u4e86\u3067\u3059\u3002<br \/>\n\u304a\u75b2\u308c\u69d8\u3067\u3057\u305f\uff01\ud83d\ude0a\u2728<\/p>\n<h2>\u30c6\u30b9\u30c8\u3057\u3066\u307f\u308b<\/h2>\n<p>\u3067\u306f\u3001\u5b9f\u969b\u306b\u30c6\u30b9\u30c8\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u2757<\/p>\n<p>\u3067\u306f\u3001\u5b9f\u969b\u306bLINE\u3067\u304a\u53cb\u9054\u306b\u306a\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3059\u308b\u3068\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12754\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/06\/laravel_meo_for_restaurant_5.png\" alt=\"\" width=\"249\" height=\"623\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/06\/laravel_meo_for_restaurant_5.png 249w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/06\/laravel_meo_for_restaurant_5-120x300.png 120w\" sizes=\"auto, (max-width: 249px) 100vw, 249px\" \/><\/p>\n<p>\u3067\u306f\u3001\u30de\u30c3\u30d7\u306e<code>URL<\/code>\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u3069\u3046\u306a\u308b\u3067\u3057\u3087\u3046\u304b\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12755\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/06\/laravel_meo_for_restaurant_6.png\" alt=\"\" width=\"569\" height=\"550\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/06\/laravel_meo_for_restaurant_6.png 569w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2024\/06\/laravel_meo_for_restaurant_6-300x290.png 300w\" sizes=\"auto, (max-width: 569px) 100vw, 569px\" \/><\/p>\n<p>\u306f\u3044\u2757<br \/>\n\u30ec\u30d3\u30e5\u30fc\u30d5\u30a9\u30fc\u30e0\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002\uff08\u30c0\u30fc\u30af\u30e2\u30fc\u30c9\u3067\u3059\u307f\u307e\u305b\u3093\uff01\uff09<\/p>\n<p>\u6210\u529f\u3067\u3059\ud83d\ude0a\u2728<\/p>\n<h2>Google \u30de\u30c3\u30d7\u306e\u30af\u30c1\u30b3\u30df\u3092\u65bd\u7b56\u3068\u3057\u3066\u8003\u3048\u3066\u3044\u308b\u4f01\u696d\u69d8\u3078<\/h2>\n<p>\u4eca\u56de\u306e\u6a5f\u80fd\u3092\u5b9f\u969b\u306b\u4f7f\u3046\u3068\u3057\u305f\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b\u3068\u3088\u308a\u30d7\u30e9\u30b9\u306b\u306a\u308b\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u8003\u3048\u3066\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u4f1a\u8a08\u6642\u306b\u304a\u53cb\u9054\u767b\u9332\u3057\u3066\u3082\u3089\u3046\u308f\u3051\u3067\u3059\u304c\u3001\u8a55\u4fa1\u3092\u4f4e\u304f\u3057\u305d\u3046\u306a\u4eba\u306b\u306f\u8a71\u3092\u632f\u3089\u306a\u3044\uff08\u89e6\u3089\u306c\u795e\u306b\u305f\u305f\u308a\u306a\u3057\u3067\u3059\uff09<\/li>\n<li>\u4eca\u56de\u306f\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8fd4\u4fe1\u3057\u307e\u3057\u305f\u304c\u3001\u672c\u5f53\u306f\u5bb6\u306b\u5e30\u3063\u3066\u300c\u3042\u306e\u30d3\u30fc\u30eb\u3046\u307e\u304b\u3063\u305f\u306a\u300d\u3050\u3089\u3044\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u304c\u4e00\u756a\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u306a\u306e\u3067\u3001\u30bf\u30a4\u30de\u30fc\u5b9f\u884c\u3067\u3001\u5e30\u5b85\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u304b\u6570\u65e5\u5f8c\u306b\u30d7\u30c3\u30b7\u30e5\u9001\u4fe1\u3057\u3066\u3082\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/li>\n<li>Google\u30de\u30c3\u30d7\u306eURL\u306f\u9577\u3044\u306e\u3067\u77ed\u7e2eURL\u3092\u4f7f\u3063\u305f\u65b9\u304c\u3044\u3044\u304b\u3082\u3067\u3059\u306d\u3002<\/li>\n<li>\u3082\u3057\u30d7\u30c3\u30b7\u30e5\u901a\u77e5\u3082\u5b9f\u88c5\u3059\u308b\u306a\u3089\u3001\u65b0\u3057\u3044\u5546\u54c1\u304c\u51fa\u305f\u3068\u304d\u3068\u304b\u3001\u3042\u307e\u308a\u304a\u5ba2\u3055\u3093\u304c\u3044\u306a\u3044\u3068\u304d\u306b\u300c\u5272\u5f15\u60c5\u5831\u300d\u3068\u304b\u3092\u9001\u4fe1\u3057\u3066\u3082\u3044\u3044\u304b\u3082\u3067\u3059\u306d\u3002<\/li>\n<\/ul>\n<p>\u3082\u3057\u3053\u3046\u3044\u3063\u305f\u65bd\u7b56\u3092\u304a\u8003\u3048\u306e\u65b9\u306f\u305c\u3072\u304a\u554f\u3044\u5408\u308f\u305b\u304b\u3089\u3054\u76f8\u8ac7\u304f\u3060\u3055\u3044\u3002<br \/>\n\u304a\u5f85\u3061\u3057\u3066\u304a\u308a\u307e\u3059\u3002\ud83d\ude0a\u2728<\/p>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f<code>Laravel<\/code>\u3067<code>Google<\/code>\u306e\u53e3\u30b3\u30df\u65bd\u7b56\u3092\u5b9f\u88c5\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n<code>LINE<\/code>\u3092\u4f7f\u3063\u3066\u30ea\u30b9\u30c8\u3092\u3068\u3063\u3066\u304a\u304f\u3068\u3001\u3044\u308d\u3044\u308d\u306a\u5e83\u304c\u308a\u3092\u3082\u3063\u305f\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u306b\u7e4b\u3052\u3089\u308c\u307e\u3059\u306d\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u5b9f\u969b\u306e\u30d3\u30fc\u30eb\u91b8\u9020\u6240\u3067\u3042\u3063\u305f\u4f8b\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u6d41\u308c\u306b\u3057\u3066\u3044\u308b\u3068\u3053\u308d\u3082\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<ol>\n<li>\u6ce8\u6587\u30d5\u30a9\u30fc\u30e0\u3078\u79fb\u52d5\u3059\u308b QR\u30b3\u30fc\u30c9\u3092\u8aad\u307f\u53d6\u308b<\/li>\n<li>\u8aad\u307f\u53d6\u3063\u305f\u3089\u3001\u307e\u305a\u306f LINE \u306e\u53cb\u9054\u767b\u9332\u3092\u304a\u9858\u3044\u3059\u308b\uff08\u2190\u3046\u307e\u3044\uff01\uff09<\/li>\n<li>\u53cb\u9054\u306b\u306a\u308b\u3001\u306a\u3089\u306a\u3044\u95a2\u4fc2\u306a\u304f\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3067\u6ce8\u6587<\/li>\n<li>\u6570\u65e5\u5f8c\u30a2\u30f3\u30b1\u30fc\u30c8\u4f9d\u983c<\/li>\n<li>\u56de\u7b54\u3057\u305f\u3089\u5272\u5f15\u30af\u30fc\u30dd\u30f3\u30b2\u30c3\u30c8\uff08\u2190\u30ea\u30d4\u30fc\u30bf\u30fc\u65bd\u7b56\uff01\uff01\uff09<\/li>\n<\/ol>\n<p>\u3053\u3093\u306a\u3075\u3046\u306b\u898b\u3066\u307f\u308b\u3068\u3084\u306f\u308a\u3054\u5546\u58f2\u3059\u308b\u4eba\u306f\u3044\u308d\u3093\u306a\u30a2\u30a4\u30c7\u30a2\u3092\u8003\u3048\u3066\u3044\u308b\u3093\u3060\u306a\u3001\u3068\u611f\u5fc3\u3057\u307e\u3059\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u5f8c\u3082\u30d3\u30fc\u30eb\u3092\u98f2\u307f\u306b\u884c\u3063\u3066\u982d\u306e\u4e2d\u3067\u300c<strong>\u3053\u3053\u306e\u304a\u5e97\u306f\u3053\u3046\u3059\u308c\u3070\u3082\u3063\u3068\u2026<\/strong>\u300d\u307f\u305f\u3044\u306a\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3092\u7d9a\u3051\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3044\u3084\u3001\u30d3\u30fc\u30eb\u304c\u98f2\u307f\u305f\u3044\u3060\u3051\u3058\u3083\u306a\u304f\u3066\u3002<br \/>\n\u3044\u3084\u3044\u3084\u3001\u30db\u30f3\u30c8\u306e\u30db\u30f3\u30c8\u306b\u3002<\/p>\n<p>\u3067\u306f\u3067\u306f\u301c\ud83c\udf7b<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3566 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_1.png\" alt=\"\" width=\"306\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_1.png 306w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_1-287x300.png 287w\" sizes=\"auto, (max-width: 306px) 100vw, 306px\" \/>\u300cTwitter \u30de\u30b9\u30bf\u30fc\u8b1b\u5ea7\u306e\u5f71\u97ff\u3067<br \/>\n\u8da3\u5473\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u3044\u3044\u306d\u6570\u304c<br \/>\n\u5897\u3048\u3066\u304d\u305f\uff01\u300d<\/p>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u30d3\u30fc\u30eb\u91b8\u9020\u6240\u3092\u7d2f\u8a08 50\u4ef6\u4ee5\u4e0a\u56de\u3063\u305f\u3053\u3068\u304c\u3042\u308b\u79c1\u304c\u3001IT\u3092\u6d3b\u7528\u3057\u3066\u3053\u3093\u306a\u65bd\u7b56\u3092\u3084\u3063\u305f\u3089\u3069\u3046\u3060\u308d\u3046\uff1f\u3068\u601d\u3046\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002 \u305d\u308c\u306f\u3001\u7279\u306b\u98f2\u98df\u5e97\u306e\u3088\u3046\u306a\u5b9f &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.capilano-fw.com\/?p=12743\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u3010Laravel\u3011Google\u30de\u30c3\u30d7\u306e\u30af\u30c1\u30b3\u30df\u65bd\u7b56\u3092\u30d3\u30a2\u30d0\u30fc50\u4ef6\u56de\u3063\u3066\u8003\u3048\u3066\u307f\u305f&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":12760,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,258],"tags":[],"class_list":["post-12743","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-laravel","category-258"],"_links":{"self":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/12743","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12743"}],"version-history":[{"count":8,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/12743\/revisions"}],"predecessor-version":[{"id":12751,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/12743\/revisions\/12751"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/media\/12760"}],"wp:attachment":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}