{"id":50020,"date":"2023-03-10T02:33:23","date_gmt":"2023-03-06T08:33:58","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e9%9f%b3%e9%80%9f%e3%80%91%e4%b8%80%e4%b8%aapython%e5%88%9d%e5%ad%a6%e8%80%85%e7%88%86%e9%80%9f%e7%94%a8django%e6%90%ad%e5%bb%balinebot%e7%9a%84%e6%95%85%e4%ba%8b\/"},"modified":"2024-04-29T18:11:00","modified_gmt":"2024-04-29T10:11:00","slug":"%e3%80%90%e9%9f%b3%e9%80%9f%e3%80%91%e4%b8%80%e4%b8%aapython%e5%88%9d%e5%ad%a6%e8%80%85%e7%88%86%e9%80%9f%e7%94%a8django%e6%90%ad%e5%bb%balinebot%e7%9a%84%e6%95%85%e4%ba%8b","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e9%9f%b3%e9%80%9f%e3%80%91%e4%b8%80%e4%b8%aapython%e5%88%9d%e5%ad%a6%e8%80%85%e7%88%86%e9%80%9f%e7%94%a8django%e6%90%ad%e5%bb%balinebot%e7%9a%84%e6%95%85%e4%ba%8b\/","title":{"rendered":"\u3010\u97f3\u901f\u3011\u4e00\u4e2aPython\u521d\u5b66\u8005\u7206\u901f\u7528Django\u642d\u5efaLINEbot\u7684\u6545\u4e8b"},"content":{"rendered":"<h1>\u8bbf\u95eeLINE\u5f00\u53d1\u8005\u5e73\u53f0<\/h1>\n<p>\u70b9\u51fb\u6b64\u94fe\u63a5https:\/\/developers.line.biz\/ja\/\uff0c\u9009\u62e9\u5f00\u59cb\u4f7f\u7528Message API\u5e76\u767b\u5f55\u3002<\/p>\n<h1>\u6ce8\u518c\u4e3aLINE Developers\uff08\u521d\u59cb\u8bbe\u7f6e\uff09<\/h1>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8ea0913a08637a6d64b1\/3-0.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2021-05-08 \u5348\u5f8c4.13.17.png\" \/><\/div>\n<p>\u8bf7\u5c06\u56fe\u50cf\u4e0b\u65b9\u5e94\u8be5\u6709\u7684channelID\u548cChannelSecret\u8bb0\u4e0b\u6765\u3002<\/p>\n<p>\u70b9\u51fb\u56fe\u50cf\u4e2d\u592e\u7684Messaging API\uff0c\u7528\u624b\u673a\u626b\u63cfQR\u7801\uff0c\u5c06\u5176\u767b\u5f55\u5230\u81ea\u5df1\u7684LINE\u8d26\u6237\u4e2d\u3002<\/p>\n<h1>\u5b89\u88c5\u5404\u79cd\u8f6f\u4ef6<\/h1>\n<p>\u5728\u4e0a\u4e00\u7bc7\u6587\u7ae0\u4e2d\uff0c\u5e94\u8be5\u5df2\u7ecf\u5b89\u88c5\u4e86Python3\u7248\u672c\uff0c\u56e0\u6b64\u53ef\u4ee5\u4f7f\u7528Python\u7684pip\u547d\u4ee4\u6765\u5b89\u88c5\u5404\u79cd\u5305\u3002<\/p>\n<h3>LINE\u7684\u5e93<\/h3>\n<pre class=\"post-pre\"><code>pip install line-bot-sdk\r\n<\/code><\/pre>\n<h3>\u5b89\u88c5Django<\/h3>\n<pre class=\"post-pre\"><code>pip install django==1.11\r\n<\/code><\/pre>\n<h3>\u521b\u5efaDjango\u9879\u76ee<\/h3>\n<p>\u5728\u521b\u5efaDjangobot\u76ee\u5f55\u540e\uff0c\u8fdb\u5165djangobot\u76ee\u5f55\u5e76\u542f\u52a8\u3002<br \/>\n\u5728\u8fd9\u4e2a\u9636\u6bb5\u4e4b\u524d\uff0c\u6700\u597d\u5148\u79fb\u52a8\u5230\u7c7b\u4f3c&#8221;\u684c\u9762\/Python\/&#8221;\u8fd9\u6837\u7684\u4f4d\u7f6e\u3002<\/p>\n<pre class=\"post-pre\"><code>django-admin startproject djangobot &amp;&amp; cd djangobot\r\npython manage.py startapp bot\r\n<\/code><\/pre>\n<p>\u7136\u540e\u5c31\u51fa\u73b0\u4e86\u8fd9\u4e2a\u9519\u8bef&#8230;<\/p>\n<pre class=\"post-pre\"><code>SyntaxError: Generator expression must be parenthesized\r\n<\/code><\/pre>\n<p>https:\/\/docs.djangoproject.com\/en\/dev\/faq\/install\/#what-python-version-can-i-use-with-django<br \/>\nDjango1.11.x \u9700\u8981\u66f4\u65b0\uff0c\u56e0\u4e3a\u5b83\u4e0e Python3.7.x \u4e0d\u517c\u5bb9\uff01<\/p>\n<h1>Django\u7684\u66f4\u65b0\u64cd\u4f5c<\/h1>\n<pre class=\"post-pre\"><code>pip install -U Django\r\n<\/code><\/pre>\n<p>\u6211\u4f1a\u987a\u4fbf\u521b\u5efabot\/urls.py\u6587\u4ef6\u3002<\/p>\n<pre class=\"post-pre\"><code>cd bot &amp;&amp; touch urls.py\r\n<\/code><\/pre>\n<h1>Django\u6587\u4ef6\u7684\u5404\u7a2e\u7de8\u8f2f<\/h1>\n<h3>&#8220;Djangobot\u7684\u8bbe\u7f6e\u6587\u4ef6\u4e3asettings.py.&#8221;<\/h3>\n<h1>\u5f53\u9519\u8bef\u51fa\u73b0\u5e76\u4e14\u65e0\u6cd5\u89e3\u51b3\u65f6<\/h1>\n<pre class=\"post-pre\"><code>heroku logs --tail -a \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u540d\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>fatal: not a git repository (or any of the parent directories): .git\r\n<\/code><\/pre>\n<p>\u5982\u679c\u9047\u5230\u8fd9\u4e2a\u9519\u8bef\uff0c\u8bf7\u5c1d\u8bd5\u4f7f\u7528git init\u8fdb\u884c\u521d\u59cb\u5316\u3002<\/p>\n<p>\u5982\u679c\u4f60\u7559\u8a00\u6216\u8005\u8bc4\u8bba\uff0c\u6211\u4f1a\u5c3d\u529b\u56de\u5e94\u3002<\/p>\n<h1>\u8bf7\u53c2\u8003<\/h1>\n<p>\u5728Python 3.7.0\u548cDjango 1.11\u8fd0\u884cDjango\u8fc1\u79fb\u65f6\u9047\u5230\u95ee\u9898\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5(Django\u8fc1\u79fb\u65f6\u7684\u5e94\u5bf9\u63aa\u65bd)\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8bbf\u95eeLINE\u5f00\u53d1\u8005\u5e73\u53f0 \u70b9\u51fb\u6b64\u94fe\u63a5https:\/\/developers.line.biz\/ja\/\uff0c\u9009\u62e9\u5f00\u59cb\u4f7f\u7528 [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-50020","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010\u97f3\u901f\u3011\u4e00\u4e2aPython\u521d\u5b66\u8005\u7206\u901f\u7528Django\u642d\u5efaLINEbot\u7684\u6545\u4e8b - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u3010\u97f3\u901f\u3011\u4e00\u4e2apython\u521d\u5b66\u8005\u7206\u901f\u7528django\u642d\u5efalinebot\u7684\u6545\u4e8b\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010\u97f3\u901f\u3011\u4e00\u4e2aPython\u521d\u5b66\u8005\u7206\u901f\u7528Django\u642d\u5efaLINEbot\u7684\u6545\u4e8b\" \/>\n<meta property=\"og:description\" content=\"\u8bbf\u95eeLINE\u5f00\u53d1\u8005\u5e73\u53f0 \u70b9\u51fb\u6b64\u94fe\u63a5https:\/\/developers.line.biz\/ja\/\uff0c\u9009\u62e9\u5f00\u59cb\u4f7f\u7528 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u3010\u97f3\u901f\u3011\u4e00\u4e2apython\u521d\u5b66\u8005\u7206\u901f\u7528django\u642d\u5efalinebot\u7684\u6545\u4e8b\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-06T08:33:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T10:11:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8ea0913a08637a6d64b1\/3-0.png\" \/>\n<meta name=\"author\" content=\"\u9038, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u9038, \u79d1\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e9%9f%b3%e9%80%9f%e3%80%91%e4%b8%80%e4%b8%aapython%e5%88%9d%e5%ad%a6%e8%80%85%e7%88%86%e9%80%9f%e7%94%a8django%e6%90%ad%e5%bb%balinebot%e7%9a%84%e6%95%85%e4%ba%8b\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e9%9f%b3%e9%80%9f%e3%80%91%e4%b8%80%e4%b8%aapython%e5%88%9d%e5%ad%a6%e8%80%85%e7%88%86%e9%80%9f%e7%94%a8django%e6%90%ad%e5%bb%balinebot%e7%9a%84%e6%95%85%e4%ba%8b\/\",\"name\":\"\u3010\u97f3\u901f\u3011\u4e00\u4e2aPython\u521d\u5b66\u8005\u7206\u901f\u7528Django\u642d\u5efaLINEbot\u7684\u6545\u4e8b - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-03-06T08:33:58+00:00\",\"dateModified\":\"2024-04-29T10:11:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e9%9f%b3%e9%80%9f%e3%80%91%e4%b8%80%e4%b8%aapython%e5%88%9d%e5%ad%a6%e8%80%85%e7%88%86%e9%80%9f%e7%94%a8django%e6%90%ad%e5%bb%balinebot%e7%9a%84%e6%95%85%e4%ba%8b\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e9%9f%b3%e9%80%9f%e3%80%91%e4%b8%80%e4%b8%aapython%e5%88%9d%e5%ad%a6%e8%80%85%e7%88%86%e9%80%9f%e7%94%a8django%e6%90%ad%e5%bb%balinebot%e7%9a%84%e6%95%85%e4%ba%8b\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e9%9f%b3%e9%80%9f%e3%80%91%e4%b8%80%e4%b8%aapython%e5%88%9d%e5%ad%a6%e8%80%85%e7%88%86%e9%80%9f%e7%94%a8django%e6%90%ad%e5%bb%balinebot%e7%9a%84%e6%95%85%e4%ba%8b\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010\u97f3\u901f\u3011\u4e00\u4e2aPython\u521d\u5b66\u8005\u7206\u901f\u7528Django\u642d\u5efaLINEbot\u7684\u6545\u4e8b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\",\"name\":\"\u9038, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"caption\":\"\u9038, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e9%9f%b3%e9%80%9f%e3%80%91%e4%b8%80%e4%b8%aapython%e5%88%9d%e5%ad%a6%e8%80%85%e7%88%86%e9%80%9f%e7%94%a8django%e6%90%ad%e5%bb%balinebot%e7%9a%84%e6%95%85%e4%ba%8b\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u3010\u97f3\u901f\u3011\u4e00\u4e2aPython\u521d\u5b66\u8005\u7206\u901f\u7528Django\u642d\u5efaLINEbot\u7684\u6545\u4e8b - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u3010\u97f3\u901f\u3011\u4e00\u4e2apython\u521d\u5b66\u8005\u7206\u901f\u7528django\u642d\u5efalinebot\u7684\u6545\u4e8b\/","og_locale":"zh_CN","og_type":"article","og_title":"\u3010\u97f3\u901f\u3011\u4e00\u4e2aPython\u521d\u5b66\u8005\u7206\u901f\u7528Django\u642d\u5efaLINEbot\u7684\u6545\u4e8b","og_description":"\u8bbf\u95eeLINE\u5f00\u53d1\u8005\u5e73\u53f0 \u70b9\u51fb\u6b64\u94fe\u63a5https:\/\/developers.line.biz\/ja\/\uff0c\u9009\u62e9\u5f00\u59cb\u4f7f\u7528 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u3010\u97f3\u901f\u3011\u4e00\u4e2apython\u521d\u5b66\u8005\u7206\u901f\u7528django\u642d\u5efalinebot\u7684\u6545\u4e8b\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-03-06T08:33:58+00:00","article_modified_time":"2024-04-29T10:11:00+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8ea0913a08637a6d64b1\/3-0.png"}],"author":"\u9038, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u9038, \u79d1","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e9%9f%b3%e9%80%9f%e3%80%91%e4%b8%80%e4%b8%aapython%e5%88%9d%e5%ad%a6%e8%80%85%e7%88%86%e9%80%9f%e7%94%a8django%e6%90%ad%e5%bb%balinebot%e7%9a%84%e6%95%85%e4%ba%8b\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e9%9f%b3%e9%80%9f%e3%80%91%e4%b8%80%e4%b8%aapython%e5%88%9d%e5%ad%a6%e8%80%85%e7%88%86%e9%80%9f%e7%94%a8django%e6%90%ad%e5%bb%balinebot%e7%9a%84%e6%95%85%e4%ba%8b\/","name":"\u3010\u97f3\u901f\u3011\u4e00\u4e2aPython\u521d\u5b66\u8005\u7206\u901f\u7528Django\u642d\u5efaLINEbot\u7684\u6545\u4e8b - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-03-06T08:33:58+00:00","dateModified":"2024-04-29T10:11:00+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e9%9f%b3%e9%80%9f%e3%80%91%e4%b8%80%e4%b8%aapython%e5%88%9d%e5%ad%a6%e8%80%85%e7%88%86%e9%80%9f%e7%94%a8django%e6%90%ad%e5%bb%balinebot%e7%9a%84%e6%95%85%e4%ba%8b\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e9%9f%b3%e9%80%9f%e3%80%91%e4%b8%80%e4%b8%aapython%e5%88%9d%e5%ad%a6%e8%80%85%e7%88%86%e9%80%9f%e7%94%a8django%e6%90%ad%e5%bb%balinebot%e7%9a%84%e6%95%85%e4%ba%8b\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e9%9f%b3%e9%80%9f%e3%80%91%e4%b8%80%e4%b8%aapython%e5%88%9d%e5%ad%a6%e8%80%85%e7%88%86%e9%80%9f%e7%94%a8django%e6%90%ad%e5%bb%balinebot%e7%9a%84%e6%95%85%e4%ba%8b\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3010\u97f3\u901f\u3011\u4e00\u4e2aPython\u521d\u5b66\u8005\u7206\u901f\u7528Django\u642d\u5efaLINEbot\u7684\u6545\u4e8b"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487","name":"\u9038, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","caption":"\u9038, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e9%9f%b3%e9%80%9f%e3%80%91%e4%b8%80%e4%b8%aapython%e5%88%9d%e5%ad%a6%e8%80%85%e7%88%86%e9%80%9f%e7%94%a8django%e6%90%ad%e5%bb%balinebot%e7%9a%84%e6%95%85%e4%ba%8b\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/50020","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=50020"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/50020\/revisions"}],"predecessor-version":[{"id":86829,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/50020\/revisions\/86829"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=50020"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=50020"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=50020"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}