{"image_url":null,"width":"100%","author_url":"https://blog.hatena.ne.jp/CORDEA/","blog_url":"https://cordea.hatenadiary.com/","blog_title":"CORDEA blog","published":"2021-03-10 09:41:38","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcordea.hatenadiary.com%2Fentry%2F2021%2F03%2F10%2F094138\" title=\"Ktor Client \u3067 Twitter \u306e Filtered stream \u3092\u53d6\u5f97\u3059\u308b - CORDEA blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"CORDEA","url":"https://cordea.hatenadiary.com/entry/2021/03/10/094138","version":"1.0","provider_name":"Hatena Blog","height":"190","categories":[],"type":"rich","description":"\u5c0f\u30cd\u30bfdeveloper.twitter.com HttpClient \u3053\u306e\u3078\u3093\u306f\u3042\u307e\u308a\u95a2\u4fc2\u306a\u3044\u306e\u3067\u3088\u3057\u306a\u306b val client = HttpClient(CIO) { defaultRequest { url { protocol = URLProtocol.HTTPS host = \"api.twitter.com\" } header(\"Authorization\", \"Bearer $token\") } Json { serializer = KotlinxSerializer(json) } } Add rules \u53d6\u5f97\u3059\u308b Tweets \u306e rules \u3092 POST \u3059\u308b\u8fd4\u308a\u5024\u306f \u2026","provider_url":"https://hatena.blog","title":"Ktor Client \u3067 Twitter \u306e Filtered stream \u3092\u53d6\u5f97\u3059\u308b"}