<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>NeoCat</author_name>
  <author_url>https://blog.hatena.ne.jp/NeoCat/</author_url>
  <blog_title>Okiraku Programming</blog_title>
  <blog_url>https://neocat.hatenablog.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>何日か前に写真共有iPhoneアプリInstagramのAPIが公開されました。その中のURLからサムネールを得る方法も公式に提供されました。 他のAPIは認証(OAuthまたはクライアントID送信)が必要となりますが、サムネール画像(や通常サイズの画像)を得るだけなら認証は不要でとっても簡単。 方法は、投稿されたURL ( http://instagr.am/p/〜 )の後ろに /media/?size=t をつけるだけ。 これでサムネール画像にリダイレクトされる仕組みです。なおmediaの後に / を付けないとリダイレクトが1回余計に発生し、無駄な通信をすることになるので注意。 tの部分に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fneocat.hatenablog.com%2Fentry%2F20110225%2F1298656117&quot; title=&quot;InstagramのURLからサムネールを取得する方法 - Okiraku Programming&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-02-25 02:48:37</published>
  <title>InstagramのURLからサムネールを取得する方法</title>
  <type>rich</type>
  <url>https://neocat.hatenablog.com/entry/20110225/1298656117</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
