よくよく考えたら、Tumblr API使ってpostってしたことなかったのでその辺まとめたメモ。 例によって例外処理とかかなり省略してるのでご利用は計画的に。 1. アプリケーションを登録してconsumer keyとconsumer secretを取得する アプリケーションの登録はこちらで。 http://www.tumblr.com/oauth/apps 2. OAuthで認証 ユーザーに認証してもらってアクセストークンを取得する 3. ユーザー情報を取得する postするブログを決めるため。今回はデフォルトに設定されてるブログにpostすることにする。 4. postする postするときに送信するパラメータは、postのタイプによって違う。タイプはテキストとか引用とか写真とかビデオとかのこと。詳しくはこちらを参考に。 posting | API | Tumblr こちらは写真を投稿
Tumblr APIWelcome to the Tumblr API! There isn't anything we enjoy more than seeing talented designers and engineers using Tumblr to invent whole new forms of creative expression. We've put a tremendous amount of care into making this API functional and flexible enough for any projects you throw at it. Drop a line in the GitHub Issues if you have ideas for what could be better, or want to discuss
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く