{"id":950,"date":"2023-01-05T21:03:22","date_gmt":"2023-01-05T12:03:22","guid":{"rendered":"https:\/\/www.sea2800.com\/?p=950"},"modified":"2024-02-16T17:28:44","modified_gmt":"2024-02-16T08:28:44","slug":"django%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6sns%e3%82%b7%e3%82%a7%e3%82%a2%e3%83%aa%e3%83%b3%e3%82%af%e3%83%bb%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e4%bd%9c%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.sea2800.com\/?p=950","title":{"rendered":"Django\u3092\u4f7f\u3063\u3066SNS\u30b7\u30a7\u30a2\u30ea\u30f3\u30af\u30fb\u30dc\u30bf\u30f3\u3092\u4f5c\u308b\u65b9\u6cd5"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69fb31b97f457\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69fb31b97f457\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.sea2800.com\/?p=950\/#%E7%9B%AE%E7%9A%84\" >\u76ee\u7684<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.sea2800.com\/?p=950\/#%E5%BF%85%E8%A6%81%E3%83%A2%E3%83%87%E3%83%AB\" >\u5fc5\u8981\u30e2\u30c7\u30eb<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.sea2800.com\/?p=950\/#%E8%A8%98%E4%BA%8B%E3%83%9A%E3%83%BC%E3%82%B8%E3%81%AE%E4%BD%9C%E6%88%90\" >\u8a18\u4e8b\u30da\u30fc\u30b8\u306e\u4f5c\u6210<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.sea2800.com\/?p=950\/#%E3%82%B7%E3%82%A7%E3%82%A2Url%E3%81%AE%E4%BD%9C%E6%88%90\" >\u30b7\u30a7\u30a2Url\u306e\u4f5c\u6210<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.sea2800.com\/?p=950\/#meta_tag%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%83%96%E3%83%AD%E3%82%B0%E7%B4%B9%E4%BB%8B%E3%82%B7%E3%82%A7%E3%82%A2%E3%82%AB%E3%83%BC%E3%83%89%E3%82%92%E4%BD%9C%E3%82%8B\" >meta tag\u3092\u4f7f\u3063\u3066\u30d6\u30ed\u30b0\u7d39\u4ecb\u30b7\u30a7\u30a2\u30ab\u30fc\u30c9\u3092\u4f5c\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.sea2800.com\/?p=950\/#Twitter%E3%81%AE%E3%82%B7%E3%82%A7%E3%82%A2%E3%83%AA%E3%83%B3%E3%82%AF\" >Twitter\u306e\u30b7\u30a7\u30a2\u30ea\u30f3\u30af<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.sea2800.com\/?p=950\/#Twitter%E3%82%B3%E3%83%BC%E3%83%89\" >Twitter\u30b3\u30fc\u30c9<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E7%9B%AE%E7%9A%84\"><\/span>\u76ee\u7684<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Django\u3092\u4f7f\u3063\u3066Twitter, Facebook, Reddit ,Line \u306e\u30b7\u30a7\u30a2\u30ea\u30f3\u30af\u30fb\u30dc\u30bf\u30f3\u3092\u4f5c\u6210\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u901a\u5e38\u306e\u3084\u308a\u65b9\u3067\u306f\u305f\u3060url\u3092\u8cbc\u308a\u4ed8\u3051\u308b\u3060\u3051\u306e\u753b\u9762\u3067\u306f\u30e6\u30fc\u30b6\u30fc\u306f\u3069\u3093\u5185\u5bb9\u306a\u306e\u304b\u304c\u308f\u304b\u3089\u305a\u30a2\u30af\u30bb\u30b9\u306b\u306f\u3064\u306a\u304c\u3089\u306a\u3044\u305f\u3081\u3001\u5de5\u592b\u3068\u3057\u3066\u30b7\u30a7\u30a2\u3092\u3059\u308b\u3068\u30b5\u30e0\u30cd\u30a4\u30eb\u4ed8\u304d\u306e\u30ab\u30fc\u30c9\u3068\u8aac\u660e\u6587\u3092\u66f8\u304d\u8fbc\u3081\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"988\" data-id=\"952\" src=\"https:\/\/www.sea2800.com\/wp-content\/uploads\/2022\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-11-21-21.46.40.png\" alt=\"\" class=\"wp-image-952\" srcset=\"https:\/\/www.sea2800.com\/wp-content\/uploads\/2022\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-11-21-21.46.40.png 1024w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2022\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-11-21-21.46.40-300x289.png 300w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2022\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-11-21-21.46.40-768x741.png 768w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2022\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-11-21-21.46.40-1000x965.png 1000w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2022\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-11-21-21.46.40-230x222.png 230w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2022\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-11-21-21.46.40-350x338.png 350w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2022\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-11-21-21.46.40-480x463.png 480w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Facebook<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"988\" data-id=\"953\" src=\"https:\/\/www.sea2800.com\/wp-content\/uploads\/2022\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-11-22-1.12.08.png\" alt=\"\" class=\"wp-image-953\" srcset=\"https:\/\/www.sea2800.com\/wp-content\/uploads\/2022\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-11-22-1.12.08.png 1024w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2022\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-11-22-1.12.08-300x289.png 300w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2022\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-11-22-1.12.08-768x741.png 768w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2022\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-11-22-1.12.08-1000x965.png 1000w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2022\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-11-22-1.12.08-230x222.png 230w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2022\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-11-22-1.12.08-350x338.png 350w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2022\/11\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-11-22-1.12.08-480x463.png 480w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">twitter<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%BF%85%E8%A6%81%E3%83%A2%E3%83%87%E3%83%AB\"><\/span>\u5fc5\u8981\u30e2\u30c7\u30eb<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u30b5\u30e0\u30cd\u30a4\u30eb\u3092\u4f7f\u3063\u3066\u306e\u8a18\u4e8b\u7d39\u4ecb\u306b\u4f7f\u3046\u30e2\u30c7\u30eb\u306f\u306a\u3093\u3067\u3082\u3044\u3044\u306e\u3067\u7d39\u4ecb\u30d6\u30ed\u30b0\u3063\u307d\u304f\u3084\u3063\u3066\u307f\u307e\u3057\u3087\u3046<\/p>\n\n\n\n<p>Models.py<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class Blog(models.model):\n title = models.CharField(_('Tittle'),max_length=300,blank=True)\nthumbnail=models.ImageField(upload_to='media\/user\/icon',verbose_name='Thumbnail',)\ntext= models.textField('text',blank=True)\nurl = models.SlugField(unique = True,blank=Null,)\n\n<\/code><\/pre>\n\n\n\n<p>\u3068\u3057\u3066\u3044\u304d\u307e\u3059<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E8%A8%98%E4%BA%8B%E3%83%9A%E3%83%BC%E3%82%B8%E3%81%AE%E4%BD%9C%E6%88%90\"><\/span>\u8a18\u4e8b\u30da\u30fc\u30b8\u306e\u4f5c\u6210<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Django\u306eViews.py\u3067\u8a18\u4e8b\u3092\u3069\u306ehtml\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3059\u308b\u306e\u304b\u3092\u6307\u5b9a\u3059\u308b\u305f\u3081views.py\u3067\u66f8\u304d\u8fbc\u3093\u3067\u3044\u304d\u307e\u3059\u3002\u8a18\u4e8b\u306e\u4f5c\u6210\u306fadmin\u30da\u30fc\u30b8\u306b\u66f8\u304d\u8fbc\u3080\u305f\u3081\u7701\u7565\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E3%82%B7%E3%82%A7%E3%82%A2Url%E3%81%AE%E4%BD%9C%E6%88%90\"><\/span>\u30b7\u30a7\u30a2Url\u306e\u4f5c\u6210<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u305f\u3060\u306e\u30b7\u30a7\u30a2\u3092\u884c\u3046\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u5165\u529b\u3059\u308b\u3068\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;a   href=\"https:\/\/www.facebook.com\/share.php?u={{ request.scheme }}:\/\/{{ request.get_host }}{% url 'Blog:blog' blog.url %}\" target=\"_blank\" rel=\"nofollow\"&gt;Facebook\u3067\u30b7\u30a7\u30a2&lt;\/a&gt;\n&lt;a   href=\"https:\/\/social-plugins.line.me\/lineit\/share?url={{ request.scheme }}:\/\/{{ request.get_host }}{% url 'Blog:blog' blog.url %}\" target=\"_blank\" rel=\"nofollow\"&gt;\n     line\u3067\u30b7\u30a7\u30a2\n&lt;\/a&gt;\n&lt;a  href=\"https:\/\/www.reddit.com\/submit?url={{ request.scheme }}:\/\/{{ request.get_host }}{% url 'Blog:blog' blog.url %}\" target=\"_blank\" rel=\"nofollow\"&gt;\nReddit\u3067\u30b7\u30a7\u30a2\n    &lt;\/a&gt;<\/code><\/pre>\n\n\n\n<p>\u3053\u308c\u3060\u3051\u3060\u3068Url\u304c\u8868\u793a\u3055\u308c\u308b\u3060\u3051\u3067\u5473\u6c17\u306a\u3044\u306e\u3067\u30b7\u30a7\u30a2\u6642\u306b\u30ab\u30fc\u30c9\u3092\u4f5c\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"meta_tag%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%83%96%E3%83%AD%E3%82%B0%E7%B4%B9%E4%BB%8B%E3%82%B7%E3%82%A7%E3%82%A2%E3%82%AB%E3%83%BC%E3%83%89%E3%82%92%E4%BD%9C%E3%82%8B\"><\/span>meta tag\u3092\u4f7f\u3063\u3066\u30d6\u30ed\u30b0\u7d39\u4ecb\u30b7\u30a7\u30a2\u30ab\u30fc\u30c9\u3092\u4f5c\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Facebook, Line,\u3000Reddit\u306e\uff13\u7a2e\u306fmeta tag\u3092\u4f7f\u3046\u3053\u3068\u3067\u30ab\u30fc\u30c9\u3092\u4f5c\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>html\u30d5\u30a1\u30a4\u30eb\u306b\u306f&lt;head&gt;\u30bf\u30b0\u306e\u9593\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u8fbc\u3080\u3053\u3068\u3067\u7c21\u5358\u306b\u753b\u50cf\u3064\u304d\u306e\u30d6\u30ed\u30b0\u7d39\u4ecb\u30b7\u30a7\u30a2\u30ab\u30fc\u30c9\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002\uff0a&lt;head&gt;\u4ee5\u5916\u306b\u66f8\u304f\u3068\u8868\u793a\u3055\u308c\u306a\u3044\u306e\u3067\u7d76\u5bfe\u306b&lt;head&gt;\u306e\u4e2d\u306b\u66f8\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;meta property=\"og:url\" content=\"https:\/\/www.forbinde.net\/{% url 'Blog:blog' blog.url %}\"&gt;\n&lt;meta property=\"og:type\" content=\"article\"&gt;\n&lt;meta property=\"og:title\" content=\"{{ blog.title }}\"&gt;\n&lt;meta property=\"og:description\" content=\"{{ blog.text |truncatechars:100}}\"&gt;\n&lt;meta property=\"og:image\" content=\"{{blog.thumbnail.url}}\" &gt;<\/code><\/pre>\n\n\n\n<p>\u753b\u50cf\u30c7\u30fc\u30bf\u306faws\u7d4c\u7531\u3067\u53d6\u5f97\u3059\u308b\u306e\u3067.url\u307e\u3067\u66f8\u304d\u8fbc\u307e\u306a\u3044\u3068\u753b\u50cf\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u306a\u3044\u306e\u3067\u6ce8\u610f\u3067\u3059\u3002AWS\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u65b9\u6cd5\u306f\u3053\u3061\u3089\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-espresso-log wp-block-embed-espresso-log\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"Vg8tiaENdE\"><a href=\"https:\/\/www.sea2800.com\/?p=596\">Django-storage\u3067s\uff13v\uff14\u3092\u4f7f\u3046\u3068css\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u6642\u306e\u89e3\u6c7a\u65b9\u6cd5<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Django-storage\u3067s\uff13v\uff14\u3092\u4f7f\u3046\u3068css\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u6642\u306e\u89e3\u6c7a\u65b9\u6cd5&#8221; &#8212; Espresso log\" src=\"https:\/\/www.sea2800.com\/?p=596&#038;embed=true#?secret=ZBQsp9TiZO#?secret=Vg8tiaENdE\" data-secret=\"Vg8tiaENdE\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Twitter%E3%81%AE%E3%82%B7%E3%82%A7%E3%82%A2%E3%83%AA%E3%83%B3%E3%82%AF\"><\/span>Twitter\u306e\u30b7\u30a7\u30a2\u30ea\u30f3\u30af<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Twitter\u306e\u30b7\u30a7\u30a2\u306f\u30e1\u30bf\u30bf\u30b0\u306b\u4f5c\u6210\u3067\u306f\u4f5c\u6210\u3067\u304d\u305a\u500b\u5225\u306b\u30ea\u30f3\u30af\u3092\u4f5c\u6210\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u8a73\u7d30\u306f\u30ea\u30f3\u30af\u5148\u306b\u516c\u5f0f\u306e\u30b7\u30a7\u30a2\u30ab\u30fc\u30c9\u306e\u4f5c\u308a\u65b9\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/developer.twitter.com\/en\/docs\/twitter-for-websites\/cards\/guides\/getting-started\">https:\/\/developer.twitter.com\/en\/docs\/twitter-for-websites\/cards\/guides\/getting-started<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Twitter%E3%82%B3%E3%83%BC%E3%83%89\"><\/span>Twitter\u30b3\u30fc\u30c9<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>head\u30bf\u30b0\u306e\u4e2d\u306b\u4ed6\u306eSNS\u30ea\u30f3\u30af\u3068\u540c\u69d8\u306bTwitter\u3088\u3046\u306b\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u3002twitter:card\u306f\u3001[Twitter\u3067\u30ea\u30f3\u30af\u30ab\u30fc\u30c9\u306e\u6307\u5b9a]twitter:site\u306f\u30ea\u30f3\u30af\u5148\u306eweb\u30b5\u30a4\u30c8\uff3b\u81ea\u5206\u306e\u30b5\u30a4\u30c8\uff3dtwitter:creator\u306f\u4f7f\u3046\u81ea\u5206\u306e[Twitter\u30a2\u30ab\u30a6\u30f3\u30c8]\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;meta name=\"twitter:card\" content=\"summary\" \/>\n&lt;meta name=\"twitter:site\" content=\"@nytimesbits\" \/>\n&lt;meta name=\"twitter:creator\" content=\"@nickbilton\" \/>\n\n &lt;a class=\"postion\" href=\"https:\/\/twitter.com\/share?url={{ request.scheme }}:\/\/{{ request.get_host }}{% url 'Blog:blog' blog.url %}&amp;text={{blog.title}}&amp;img={{blog.thumbnail.url}}\" target=\"_blank\" rel=\"nofollow\" >\n     Twitter\u3067\u30b7\u30a7\u30a2\n    &lt;\/a>\n<\/code><\/pre>\n\n\n\n<p>\u3067\u5b8c\u6210\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u5b8c\u6210\u54c1\u3092\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408\u306f\u4e0b\u8a18\u306e\u30ea\u30f3\u30af\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u8a18\u4e8b\u306eurl\u3092\u8aad\u307f\u8fbc\u307e\u305b\u308b\u3053\u3068\u3067\u78ba\u8a8d\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/cards-dev.twitter.com\/validator\">https:\/\/cards-dev.twitter.com\/validator<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"477\" src=\"https:\/\/www.sea2800.com\/wp-content\/uploads\/2023\/01\/-2023-01-05-19.02.49-e1672913220715-1024x477.png\" alt=\"\" class=\"wp-image-962\" srcset=\"https:\/\/www.sea2800.com\/wp-content\/uploads\/2023\/01\/-2023-01-05-19.02.49-e1672913220715-1024x477.png 1024w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2023\/01\/-2023-01-05-19.02.49-e1672913220715-300x140.png 300w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2023\/01\/-2023-01-05-19.02.49-e1672913220715-768x357.png 768w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2023\/01\/-2023-01-05-19.02.49-e1672913220715-1536x715.png 1536w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2023\/01\/-2023-01-05-19.02.49-e1672913220715-2048x953.png 2048w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2023\/01\/-2023-01-05-19.02.49-e1672913220715-1000x465.png 1000w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2023\/01\/-2023-01-05-19.02.49-e1672913220715-230x107.png 230w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2023\/01\/-2023-01-05-19.02.49-e1672913220715-350x163.png 350w, https:\/\/www.sea2800.com\/wp-content\/uploads\/2023\/01\/-2023-01-05-19.02.49-e1672913220715-480x223.png 480w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>log\u304c\u7dd1\u3067\u8868\u793a\u3055\u308c\u308c\u3070\u554f\u984c\u6210\u529f\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u30b7\u30a7\u30a2\u3057\u3066\u307f\u305f\u3044\u65b9\u306f\u3053\u3061\u3089\u3092\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u3066\u4e0b\u3055\u3044<\/p>\n\n\n\n<p><a href=\"https:\/\/www.forbinde.net\/gamenews\/horizonorbiddenwestjpinfo2\">https:\/\/www.forbinde.net\/gamenews\/horizonorbiddenwestjpinfo2<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u7684 Django\u3092\u4f7f\u3063\u3066Twitter,  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,8,29],"tags":[31,16,30],"class_list":["post-950","post","type-post","status-publish","format-standard","hentry","category-django","category-python","category-web","tag-css","tag-django","tag-html"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.sea2800.com\/index.php?rest_route=\/wp\/v2\/posts\/950","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sea2800.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sea2800.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sea2800.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sea2800.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=950"}],"version-history":[{"count":7,"href":"https:\/\/www.sea2800.com\/index.php?rest_route=\/wp\/v2\/posts\/950\/revisions"}],"predecessor-version":[{"id":963,"href":"https:\/\/www.sea2800.com\/index.php?rest_route=\/wp\/v2\/posts\/950\/revisions\/963"}],"wp:attachment":[{"href":"https:\/\/www.sea2800.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=950"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sea2800.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=950"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sea2800.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=950"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}