<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lacolaco</author_name>
  <author_url>https://blog.hatena.ne.jp/lacolaco/</author_url>
  <blog_title>余白</blog_title>
  <blog_url>https://lacolaco.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>もともとOAuth認証でやるつもりだったんですが、どうあがいても認証鯖がoauth_signatureを弾いてくるので諦めてもう一つの認証方法「WSSE」を試してみました。 はてなサービスにおけるWSSE認証の仕様はこちら http://developer.hatena.ne.jp/ja/documents/auth/apis/wsse 簡単に言うと、IDとパスワードから作られるパラメータをリクエストに添付してやればいいっていうことですね。 一度認証したらトークンを使いまわせるOAuthと違ってリクエスト全てにWSSEヘッダをつけてやらないといけないのが違い。 私はトークンの保存とか読み込みと…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flacolaco.hatenablog.com%2Fentry%2F20120922%2F1348269949&quot; title=&quot;はてなダイアリーAPIを使った投稿(WSSE認証) - 余白&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>2012-09-22 08:25:49</published>
  <title>はてなダイアリーAPIを使った投稿(WSSE認証)</title>
  <type>rich</type>
  <url>https://lacolaco.hatenablog.com/entry/20120922/1348269949</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
