ruby-oauth で Yahoo! OAuth を使おうとしてだいぶはまったので、対応方法をメモ。 まずは oauth_parameter のうち、値が空のものは送らないようにしないと行けないようです。これは Yahoo! 側の問題かな?この問題を解決するには、OAuth::Client::Helper をオーバーライドします。 PLAIN TEXT LANG : RUBY # Yahoo! Hacks (for OAuth2.1) class OAuth::Client::Helper def oauth_parameters { 'oauth_consumer_key' => options[:consumer].key, 'oauth_token' => options[:token] ? options[:token].token : '', 'o
What This is a RubyGem for implementing both OAuth clients and servers in Ruby applications. See the OAuth specs Installing sudo gem install oauth You can also install it from the oauth rubyforge project. The source code is now hosted on the OAuth GitHub Project The basics This is a ruby library which is intended to be used in creating Ruby Consumer and Service Provider applications. It is NOT a R
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く