<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>PlugOut</author_name>
  <author_url>https://blog.hatena.ne.jp/PlugOut/</author_url>
  <blog_title>Unknown Region</blog_title>
  <blog_url>https://plugout.hateblo.jp/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>HTML</anon>
    <anon>Twitter</anon>
  </categories>
  <description>Twitterのシェアボタン設置に関して、ハマってしまったので備忘録がてらにメモ。 Googleで「Twitter シェアボタン」なんて検索すると出てくる通り、以下のTwitterの公式サイトから「シェアボタン」のコードを生成して、自分のウェブサイトなどに埋め込むことができる。 publish.twitter.com 通常通りに設置するだけなら単純にステップを進めて、最後に表示されるコードを対象のHTML内に貼り付ければ完了。 僕がハマったのは、非表示にしているDIVタグに対して「シェアボタン」を設置しようとしたからだ。 やりたかったこととしては、最初は「非表示(display: none)」…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fplugout.hateblo.jp%2Fentry%2F2019%2F11%2F16%2F013917&quot; title=&quot;Twitterのシェアボタン設置の落とし穴 - Unknown Region&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/P/PlugOut/20191116/20191116013800.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-11-16 01:39:17</published>
  <title>Twitterのシェアボタン設置の落とし穴</title>
  <type>rich</type>
  <url>https://plugout.hateblo.jp/entry/2019/11/16/013917</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
