Yahoo::BBAuthっていうモジュールを作ってみた。 Yahoo! Browser-Based AuthenticationのAPIをハンドリングするモジュール。 サンプルはこちら。 ログイン成功すると、自分のアルバム(のカバー写真)一覧を表示する。 ソースはここに。 本家のPHPのモジュールを勢いでそのままポートした感じ(サンプルも)。 CPANにはあげないでおこうかなぁ。Yahoo::Searchみたいに中の人があげるかもしれないし。 これ使えばPhotosのAPIのモジュールとかもいろいろ作れると思う。 認証APIは他のサービスと結構似てる。ちょっとごちゃごちゃしてるけど。 ユーザー名が素直に取れないのはなんでだろ?(userhashしか取れない。デモのPhotos APIを使えばとれなくもないけど) はてな認証APIとかみたいに「ようこそ〜〜さん」とか出来ないよ・・・ 追記
Restricting Access to your AJAX Services Posted by gmurray71 on August 02, 2006 at 11:32 AM | Comments (6) Services like the XmlHttpProxy for Java are designed to return JavaScript that is evaluated on the client. Unfortunately, if you are not careful with the design of your services, JSONP techniques could be used to hijack your services. While I'm not saying JSONP is bad, I do highly recommend y
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く