<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sey323</author_name>
  <author_url>https://blog.hatena.ne.jp/sey323/</author_url>
  <blog_title>いちろう’s blog</blog_title>
  <blog_url>https://sey323log.hatenablog.com/</blog_url>
  <categories>
    <anon>おうちハック</anon>
  </categories>
  <description>はじめに Slackにファイルが投稿されたことを検知して、投稿されたファイルをGoogleDriveに保存するBotを作りました。 3年ほど前にSlackBotを作った経験があったのですが、その際に利用していたAPIがLegacyAPIとして非推奨になっており、新しいSlackAPIに苦戦したので備忘録として記録します。 動作としてはこんな感じ。Slackにファイルを投稿したら、GoogleDriveに保存され、保存先のURLを返してくれるBotを作成する。 完成イメージ</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsey323log.hatenablog.com%2Fentry%2F20221106%2F1667720656&quot; title=&quot;Slackに投稿されたファイルをGoogleDriveに保存するBotをPythonで作成 - いちろう’s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/163680/3d39430f-74a9-1a61-2f89-aba5e5e9116e.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-11-06 16:44:16</published>
  <title>Slackに投稿されたファイルをGoogleDriveに保存するBotをPythonで作成</title>
  <type>rich</type>
  <url>https://sey323log.hatenablog.com/entry/20221106/1667720656</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
