{"id":870,"date":"2017-10-12T23:10:53","date_gmt":"2017-10-12T14:10:53","guid":{"rendered":"http:\/\/chiekoubou.orz.hm\/kataware\/?p=870"},"modified":"2017-10-12T12:11:09","modified_gmt":"2017-10-12T03:11:09","slug":"%e3%82%84%e3%81%a3%e3%81%b1%e3%82%8alinelogin%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e8%aa%8d%e8%a8%bc%e3%81%99%e3%82%8b%e3%82%88%e3%81%86%e3%81%ab%e4%bb%95%e6%a7%98%e5%a4%89%e6%9b%b4%e3%81%a0%ef%bc%81","status":"publish","type":"post","link":"https:\/\/blog.chiekoubou.com\/?p=870","title":{"rendered":"\u3084\u3063\u3071\u308aLineLogin\u3092\u4f7f\u3063\u3066\u8a8d\u8a3c\u3059\u308b\u3088\u3046\u306b\u4ed5\u69d8\u5909\u66f4\u3060\uff01"},"content":{"rendered":"<p>http:\/\/localhost7\/curl.php\u3084\u3063\u3071\u308a\u306a\u3093\u3061\u3083\u3063\u3066OAuth2\u3092\u4f7f\u3046\u306e\u306f\u3084\u3081\u3066LineLogin\u3092\u4f7f\u3046\u3053\u3068\u306b\u3057\u305f\u3088\uff01<\/p>\n<p>\u306a\u3093\u3060\u304b\u3093\u3060\u3067Line\u306e\u30b0\u30eb\u304c\u304d\u3063\u304b\u3051\u3067\u3053\u306e\u30c4\u30fc\u30eb\u306e\u4f5c\u6210\u3092\u601d\u3044\u7acb\u3063\u305f\u3057\u306d\uff01<br \/>\n\u30b9\u30de\u30db\u6301\u3063\u3066\u3066Line\u3084\u3063\u3066\u306a\u3044\u4eba\u306f\u3044\u306a\u3044\u3060\u308d\u3046\u3057\u3001\u3084\u3063\u3066\u306a\u3044\u306a\u3089\u30d5\u30ec\u30dd\u96c6\u3081\u3068\u304b\u3057\u306a\u3044\u3060\u308d\u3046\u3057\uff01<\/p>\n<p>\u305d\u3093\u306a\u308f\u3051\u3067LineLogin\u306b\u3064\u3044\u3066\u52c9\u5f37\u3060\uff01<\/p>\n<p>OAuth2\u306f\u8a8d\u53ef\u306e\u4ed5\u7d44\u307f OAuth connect\u306fOAuth2+\u8a8d\u8a3c\u306e\u4ed5\u7d44\u307f<br \/>\n\u305d\u3057\u3066LineLogin\u306fOAuth2\u3068OAuth connect\u306e\u4e21\u5bfe\u5fdc\u3001\u3068\u3044\u3046\u4e8b\u3089\u3057\u3044\u3002<br \/>\n\u5fc3\u914d\u3057\u306a\u3044\u3067\uff01\u50d5\u3082\u3088\u304f\u5206\u304b\u3063\u3066\u306a\u3044\uff01(\u5fc3\u914d<\/p>\n<p>\u307e\u305a\u306fLine\u5074\u3067\u30c7\u30d9\u30ed\u30c3\u30d1\u30fc\u767b\u9332\u3060\uff01<br \/>\nhttps:\/\/developers.line.me\/ja\/docs\/line-login\/getting-started\/<br \/>\n\u2191\u3053\u3053\u3092\u898b\u306a\u304c\u3089\u3084\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044(\u9069\u5f53<br \/>\n\u591a\u5206\u3053\u308c\u3088\u308a\u4e01\u5be7\u306b\u306f\u304b\u3051\u307e\u305b\u3093\u3002<\/p>\n<p>Channel\u306e\u4f5c\u6210\u6642\u3001\u4f5c\u6210\u5f8c\u306e\u8a2d\u5b9a\u306b\u3064\u3044\u3066\u3002<br \/>\n\u50d5\u306f\u30a2\u30d7\u30ea\u30bf\u30a4\u30d7\u306f\u4e21\u65b9\u306b\u30c1\u30a7\u30c3\u30af\u3092\u4ed8\u3051\u307e\u3057\u305f\u3002<br \/>\nWeb\u3082\u30cd\u30a4\u30c6\u30a3\u30d6\u3082\u4f5c\u308b\u4e88\u5b9a\u306a\u306e\u3067\u3002<\/p>\n<h2>\u4eca\u65e5\u306e\u76ee\u6a19<\/h2>\n<p>\u30fbLineLogin\u304b\u3089ID\u30c8\u30fc\u30af\u30f3\u3092\u53d6\u5f97\u3059\u308b<\/p>\n<h2>\u524d\u63d0<\/h2>\n<p>\u30fbWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u7528\u306e\u30b5\u30fc\u30d0\u304c\u6e96\u5099\u6e08\u307f\u3067\u3001\u3061\u3083\u3093\u3068Web\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b<br \/>\n\u3000\u3000(\u50d5\u306e\u5834\u5408\u306f http:\/\/hoshidora.game.chiekougou)<br \/>\n\u30fbLineLogin\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u304c\u4f5c\u6210\u6e08\u307f<br \/>\n\u3000\u3000(\u3053\u306e\u8a18\u4e8b\u306e\u5192\u982d\u90e8\u5206\u3092\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044)<br \/>\n\u30fb\u4eca\u56de\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u6210\u306f<br \/>\n\u3000\u2533index.php<br \/>\n\u3000\u2517getToken.php<br \/>\n2\u30d5\u30a1\u30a4\u30eb\u306e\u307f\u3060\uff01\u5358\u7d14\u3060\u306d\uff01<br \/>\n\u3048\uff1fslim3\u3067\u69cb\u7bc9\u3059\u308b\u3093\u3058\u3083\u306a\u3044\u306e\uff1f\u3063\u3066\uff1f<br \/>\n\u307e\u3041\u3001\u4eca\u56de\u306f\u52d5\u4f5c\u691c\u8a3c\u76ee\u7684\u3060\u3057\uff01<\/p>\n<h2>1. \u3084\u308a\u305f\u3044\u3053\u3068\u3092\u5177\u4f53\u7684\u306b\u6574\u7406\u3057\u3066\u307f\u3088\u3046<\/h2>\n<p>\u4e00\u8a00\u3067\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\u3092\u3068\u3063\u3066\u304f\u308b\u3001\u3068\u8a00\u3063\u3066\u3082<br \/>\n\u3058\u3083\u3042\u3001\u5177\u4f53\u7684\u306b\u3069\u3046\u3059\u308c\u3070\uff1f<br \/>\n\u3068\u306a\u308b\u3068\u601d\u3046\u306e\u3067\u3001\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n<p>1.http:\/\/hoshidora.games.chiekougou \u306b\u30a2\u30af\u30bb\u30b9\u304c\u3042\u3063\u305f\u5834\u5408\u306b<\/p>\n<p>\/\/2. \u6709\u52b9\u306aID\u30c8\u30fc\u30af\u30f3\u3092\u6301\u3063\u3066\u3044\u306a\u3051\u308c\u3070<\/p>\n<p>3. https:\/\/access.line.me\/oauth2\/v2.1\/authorize \u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u305b\u3066<\/p>\n<p>4. 3.\u306e\u5165\u529b\u5f8c\u306b http:\/\/hoshidora.games.chiekougou\/getToken.php \u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3057\u3066\u3082\u3089\u3044<\/p>\n<p>5. 4.\u306eURI\u306b\u3064\u3044\u3066\u305f\u8a8d\u8a3c\u30b3\u30fc\u30c9\u3092\u3082\u3068\u306b web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b5\u30fc\u30d0\u304c line\u306b ID\u30c8\u30fc\u30af\u30f3\u3092\u3082\u3089\u3044<\/p>\n<p>6. \u3068\u308a\u3042\u3048\u305aID\u30c8\u30fc\u30af\u30f3\u3092\u753b\u9762\u306b\u8868\u793a\u3067\u304d\u305f\u3089\u5b8c\u6210\uff01<\/p>\n<p>\u307e\u3041\u30016\u306f\u3069\u3046\u304b\u3068\u601d\u3044\u307e\u3059\u304c\uff57<br \/>\n\u3042\u304f\u307e\u3067\u30c6\u30b9\u30c8\u306a\u306e\u3067\u3002<br \/>\n\u3055\u3089\u306b\u30c6\u30b9\u30c8\u306a\u306e\u30672\u306e\u4f5c\u696d\u3082\u98db\u3070\u3057\u307e\u3059\u3002<\/p>\n<h2>2. Line\u30ed\u30b0\u30a4\u30f3\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u8a2d\u5b9a\u3092\u3057\u3066\u3001\u5fc5\u8981\u306a\u60c5\u5831\u306e\u78ba\u8a8d\u3092\u3059\u308b\u3088\uff01<\/h2>\n<p>Channel\u57fa\u672c\u8a2d\u5b9a\u304b\u3089<br \/>\n  ChannelID \u3068 ChannelSecret \u3092\u30b3\u30d4\u30fc\u3057\u3066\u3069\u3063\u304b\u306b\u4fdd\u5b58\u3057\u3066\u304a\u304f\u3002>\u5f8c\u3067\u4f7f\u3046<br \/>\n  \u30a2\u30d7\u30ea\u30bf\u30a4\u30d7\u306bWEB \u304c\u5165\u3063\u3066\u308b\u306e\u3092\u78ba\u8a8d\u3059\u308b<br \/>\n\u30a2\u30d7\u30ea\u8a2d\u5b9a\u304b\u3089<br \/>\n  Callback URL \u306e\u8a2d\u5b9a\u3092\u884c\u3046<br \/>\n    (\u50d5\u306e\u5834\u5408\u306f http:\/\/hoshidora.games.chiekoubou\/getToken.php)<\/p>\n<h2>3. LineLogin\u3078\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u305b\u308bURI\u3092\u4f5c\u6210\u3059\u308b\u3088\uff01<\/h2>\n<p>https:\/\/developers.line.me\/ja\/docs\/line-login\/web\/integrate-line-login\/<br \/>\n\u2191\u3068\u308a\u3042\u3048\u305a\u30de\u30cb\u30e5\u30a2\u30eb\u306f\u3061\u3083\u3093\u3068\u8aad\u307f\u307e\u3057\u3087\u3046\u3068\u3044\u3046\u4e8b\u3067<br \/>\n\u3053\u3053\u306e\u300c\u8a8d\u53ef\u3092\u8981\u6c42\u3059\u308b\u300d\u3092\u8aad\u307f\u306a\u304c\u3089\u4f5c\u696d\u3057\u307e\u3059\u3002<\/p>\n<p>\u3056\u3063\u304f\u308a\u3044\u3046\u3068\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3088\u306d<\/p>\n<pre>\r\nhttps:\/\/access.line.me\/oauth2\/v2.1\/authorize\r\n?response_type=code\r\n&client_id=<CLIENT_ID>\r\n&redirect_uri=<REDIRECT_URI>\r\n&state=<STATE>\r\n&nonce=<NONCE>\r\n&scope=openid profile\r\n<\/pre>\n<p><CLIENT_ID>\u306f2.\u3067\u30e1\u30e2\u3057\u305fcliend_id\u3092<br \/>\n<REDIRECT_URI>\u306f2.\u3067\u8a2d\u5b9a\u3057\u305fcallbackURL\u3092\u8a2d\u5b9a<br \/>\n<STATE>\u306b\u3064\u3044\u3066\u306f\u3001XSRF\u306b\u5bfe\u3059\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u78ba\u4fdd\u306e\u305f\u3081<br \/>\n\u30e9\u30f3\u30c0\u30e0\u306a\u6587\u5b57\u5217\u3092\u8a2d\u5b9a\u3057\u3066\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u5e30\u3063\u3066\u304d\u305f\u6642\u306b\u7167\u5408\u3059\u308b\u305f\u3081\u306b\u8a2d\u5b9a\u3059\u308b\u307f\u305f\u3044\u3002<br \/>\n\u3053\u3053\u3067\u8aac\u660e\u3057\u3066\u3082\u308f\u304b\u308a\u306b\u304f\u3044\u306e\u3067\u3001\u5b9f\u969b\u306b\u30c6\u30b9\u30c8\u3057\u306a\u304c\u3089\u8aac\u660e\u3057\u3088\u3046\u304b\u3068\uff01(\u3042\u3063\u3066\u308b\u304b\u3069\u3046\u304b\u306f\u8b0e<br \/>\n<NONCE>\u306b\u3064\u3044\u3066\u306f\u30ea\u30d7\u30ec\u30a4\u30a2\u30bf\u30c3\u30af\u306b\u5bfe\u3059\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u78ba\u4fdd\u306e\u305f\u3081<br \/>\n\u3084\u3063\u3071\u308a\u30e9\u30f3\u30c0\u30e0\u306a\u6587\u5b57\u5217\u3092\u8a2d\u5b9a\u3059\u308b\u3089\u3057\u3044\u3002<br \/>\n\u3053\u308c\u3082\u30c6\u30b9\u30c8\u306e\u4e2d\u3067\u50d5\u306e\u77e5\u3063\u3066\u308b\u7bc4\u56f2\u3067\u89e3\u8aac\u3057\u307e\u3059\u3002(\u3042\u3063\u3066\u308b\u304b\u3069\u3046\u304b\u306f\u8b0e<\/p>\n<p>\u4ee5\u4e0a\u3092\u8e0f\u307e\u3048\u3066\u30c6\u30b9\u30c8\u7528\u306e\u30ea\u30f3\u30af\u3092\u4f5c\u6210\u3059\u308b\u30da\u30fc\u30b8\u3092\u4f5c\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u304b<\/p>\n<p>index.php<\/p>\n<pre>\r\n<?php\r\n\tsession_start();\r\n\t\r\n\t$lineLoginUrl=\"https:\/\/access.line.me\/oauth2\/v2.1\/authorize\";\r\n\t$clientId=\"<CLIENT_ID>\";\r\n\t$redirectUri=\"<REDIRECT_URI>\";\r\n\t$state=sha1(md5(uniqid(openssl_random_pseudo_bytes(256), true)));\r\n\t$nonce=sha1(md5(uniqid(openssl_random_pseudo_bytes(256), true)));\r\n\t$_SESSION['state']=$state;\r\n\t$_SESSION['nonce']=$nonce;\r\n\t\r\n\t$url = \"$lineLoginUrl\".\r\n\t\t\"?response_type=code\".\r\n\t\t\"&client_id=$clientId\".\r\n\t\t\"&redirect_uri=$redirectUri\".\r\n\t\t\"&state=$state\".\r\n\t\t\"&nonce=$nonce\".\r\n\t\t\"&scope=openid profile\";\r\n?>\r\n<!DOCTYPE html>\r\n<html><head>\r\n\t<title>login test [link]<\/title>\r\n<\/head><body>\r\n\t<a href='<?= $url?>'>LineLogin<\/a>\r\n<\/body><\/html>\r\n<\/pre>\n<p>\u2191\u306e login test \u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068LineLogin\u306e\u753b\u9762\u306b\u98db\u3093\u3067\u3001<br \/>\nID,Pass\u3092\u5165\u308c\u308b\u3068 \/getToken.php\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u308c\u3066\u623b\u3063\u3066\u304f\u308b\u3068\u601d\u3046\u3002<br \/>\n\u3067\u3082\u3001\u307e\u305fgetToken.php\u306f\u4f5c\u3063\u3066\u306a\u3044\u304b\u3089Notfound\u3068\u304b\u306b\u306a\u308b\u304b\u306a\uff1f<br \/>\n\u307e\u3041\u3001\u30a2\u30c9\u30ec\u30b9\u30d0\u30fc\u306b\u306a\u3093\u304b\u51fa\u3066\u304f\u308c\u3070\u3053\u3053\u307e\u3067\u306f\u5341\u5206\u6210\u529f\u3068\u8a00\u3048\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>4. \u8a8d\u53ef\u30b3\u30fc\u30c9\u304b\u3089ID\u30c8\u30fc\u30af\u30f3\u3092\u53d6\u5f97\u3060\uff01<\/h2>\n<p>3.\u3067\u3082\u3089\u3063\u305f\u306e\u306f\u8a8d\u53ef\u30b3\u30fc\u30c9\u3067\u3042\u3063\u3066\u3001\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\u3068\u304bID\u30c8\u30fc\u30af\u30f3\u3067\u306f\u306a\u3044\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3060\uff01<br \/>\n\u8a8d\u53ef\u30b3\u30fc\u30c9\u3092\u4f7f\u3063\u3066ID\u30c8\u30fc\u30af\u30f3\u3092\u30b2\u30c3\u30c8\u3059\u308b\u305e\uff01<\/p>\n<p>getToken.php<\/p>\n<pre>\r\n<?php\r\n\r\n\t$url = 'https:\/\/api.line.me\/oauth2\/v2.1\/token';\r\n\t$redirectUrl='<REDIRECT_URI>';\r\n\t$clientId='<CLIENT_ID>';\r\n\t$clientSecret='<CLIENT_SECRET>';\r\n\r\n\t$p = $_GET;\r\n\r\n\t$data=[\r\n\t\t'grant_type'=>'authorization_code',\r\n\t\t'code'=>$p['code'],\r\n\t\t'redirect_uri'=>$redirectUrl,\r\n\t\t'client_id'=>$clientId,\r\n\t\t'client_secret'=>$clientSecret,\r\n\t];\r\n\t$data = http_build_query($data, \"\", \"&\");\r\n\r\n\t$header = array(\r\n\t\t\t\"Content-Type: application\/x-www-form-urlencoded\",\r\n\t\t\t\"Content-Length: \".strlen($data),\r\n\t);\r\n\t\r\n\t$curlOpt=array(\r\n\t\tCURLOPT_URL => $url,\r\n\t\tCURLOPT_RETURNTRANSFER => true,  \/\/\u7d50\u679c\u3092\u6587\u5b57\u5217\u3067\u53d7\u3051\u53d6\u308b\r\n\t\tCURLOPT_HTTPHEADER => $header ,\r\n\t\tCURLOPT_POST => 1,\r\n\t\tCURLOPT_POSTFIELDS => $data,\r\n\t);\r\n\t\r\n\t$ch = curl_init();\r\n\tcurl_setopt_array($ch, $curlOpt);\r\n\t\r\n\t\r\n\/\/\tcurl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); \/\/ \u30b5\u30fc\u30d0\u8a3c\u660e\u66f8\u691c\u8a3c\u3092\u30b9\u30ad\u30c3\u30d7\r\n\/\/\tcurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); \/\/ \u30b5\u30fc\u30d0\u8a3c\u660e\u66f8\u691c\u8a3c\u3092\u30b9\u30ad\u30c3\u30d7\r\n\t\r\n\t\/\/DEBUG\r\n\t\/\/curl_setopt($ch, CURLOPT_HEADER, true);\r\n\t\/\/curl_setopt($ch, CURLOPT_VERBOSE, true);\r\n\r\n\t$rs= curl_exec($ch);\r\n\t$info = curl_getinfo($ch);\r\n\t$errno = curl_errno($ch);\r\n\t$error = curl_error($ch);\r\n\r\n\tcurl_close($ch);\r\n\r\n\tprint \"info:<br>\";\r\n\tprint_r($info);\r\n\tprint \"<hr>\";\r\n\tif($errno){\r\n\t\tprint(\"errorNo:$errno.<br>$error\");\r\n\t}else{\r\n\t\t$rs = json_decode($rs);\r\n\t\tprint \"response:<br>\";\r\n\t\tprint_r($rs);\r\n\t}\r\n?>\r\n<\/pre>\n<p>errorNo:\uff5e<br \/>\n\u3063\u3066\u51fa\u3066\u304d\u3066\u305f\u3089\u3001curl\u3067\u306e\u63a5\u7d9a\u304c\u5931\u6557\u3057\u3066\u307e\u3059\u3002<br \/>\n\u30b5\u30fc\u30d0\u8a3c\u660e\u66f8\u691c\u8a3c\u3092\u30b9\u30ad\u30c3\u30d7\u3057\u305f\u3089\u3046\u307e\u304f\u3044\u304f\u304b\u3082\u3060\u3051\u3069\u3001\u30c6\u30b9\u30c8\u306e\u6642\u3060\u3051\u306b\u3057\u3066\u306d\uff01<\/p>\n<p>response:\uff5e<br \/>\n\u3063\u3066\u51fa\u3066\u304d\u305f\u3089\u3001\u901a\u4fe1\u81ea\u4f53\u306f\u6210\u529f\u3057\u305f\u611f\u3058\u3067\u3059\u3002<br \/>\n\u305d\u306e\u4e2d\u3067error\u304c\u51fa\u3066\u308c\u3070\u5024\u306e\u8a2d\u5b9a\u304c\u4f55\u304b\u304a\u304b\u3057\u3044\u304b\u3063\u305f\u308a\u3059\u308b\u306e\u3067\u3001<br \/>\n\u4f55\u3067\u6012\u3089\u308c\u3066\u308b\u306e\u304b\u3092\u3058\u3063\u304f\u308a\u8003\u3048\u307e\u3057\u3087\u3046\u3002<br \/>\nresponse\u306b id_token\u3068\u304baccess_token\u3068\u304b\u304c\u542b\u307e\u308c\u3066\u308c\u3070\u3001\u53d6\u5f97\u306b\u6210\u529f\u3057\u3066\u307e\u3059\u3002<br \/>\n\u3042\u3068\u306f\u716e\u308b\u306a\u308a\u713c\u304f\u306a\u308a\u597d\u304d\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u50d5\u306f\u75b2\u308c\u305f\u306e\u3067\u3044\u3063\u305f\u3093\u51b7\u8535\u5eab\u306b\u5165\u308c\u3066\u5bdd\u3088\u3046\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u65e5\u306f\u3053\u306e\u8fba\u3067\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/localhost7\/curl.php\u3084\u3063\u3071\u308a\u306a\u3093\u3061\u3083\u3063\u3066OAut &hellip; <a href=\"https:\/\/blog.chiekoubou.com\/?p=870\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/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":[25,33],"tags":[],"class_list":["post-870","post","type-post","status-publish","format-standard","hentry","category-se","category-33"],"_links":{"self":[{"href":"https:\/\/blog.chiekoubou.com\/index.php?rest_route=\/wp\/v2\/posts\/870"}],"collection":[{"href":"https:\/\/blog.chiekoubou.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.chiekoubou.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.chiekoubou.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.chiekoubou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=870"}],"version-history":[{"count":4,"href":"https:\/\/blog.chiekoubou.com\/index.php?rest_route=\/wp\/v2\/posts\/870\/revisions"}],"predecessor-version":[{"id":874,"href":"https:\/\/blog.chiekoubou.com\/index.php?rest_route=\/wp\/v2\/posts\/870\/revisions\/874"}],"wp:attachment":[{"href":"https:\/\/blog.chiekoubou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=870"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.chiekoubou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=870"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.chiekoubou.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=870"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}