<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>blue1st</author_name>
  <author_url>https://blog.hatena.ne.jp/blue1st/</author_url>
  <blog_title>そんな今日この頃の技術ネタ</blog_title>
  <blog_url>https://blue1st-tech.hateblo.jp/</blog_url>
  <categories>
    <anon>GoogleCloudFunctions</anon>
    <anon>GoogleCloudPlatform</anon>
    <anon>Golang</anon>
  </categories>
  <description>Google Cloud Functionsで新たにgolangが使えるようになったので、試しにHTTPリクエストをトリガーとしてSlackにメッセージを投稿してみるコードを組んでみた。 1. Slackトークンの取得 ひとまずSlack投稿のためのトークンを取得しておく必要がある。 (毎度Slackのトークン取得のたびにサイト内で迷子になる・・・) api.slack.com まずは新規アプリとして登録。仮にGCF-Slackとでも名付けておく。 次に投稿できるようにPermissionとしてchat:write:botを設定。 最後にInstall App to Workspaceでトーク…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblue1st-tech.hateblo.jp%2Fentry%2F2019%2F03%2F23%2F031833&quot; title=&quot;Google Cloud Functions / Go111からSlackに投稿してみる - そんな今日この頃の技術ネタ&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://cdn-ak.f.st-hatena.com/images/fotolife/b/blue1st/20190323/20190323021638.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-03-23 03:18:33</published>
  <title>Google Cloud Functions / Go111からSlackに投稿してみる</title>
  <type>rich</type>
  <url>https://blue1st-tech.hateblo.jp/entry/2019/03/23/031833</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
