-
アーカイブ
- 2010年9月
- 2010年8月
- 2010年7月
- 2010年5月
- 2010年4月
- 2010年2月
- 2010年1月
- 2009年12月
- 2009年11月
- 2009年10月
- 2009年9月
- 2009年8月
- 2009年7月
- 2009年6月
- 2009年5月
- 2009年4月
- 2009年3月
- 2009年2月
- 2009年1月
- 2008年12月
- 2008年11月
- 2008年10月
- 2008年9月
- 2008年8月
- 2008年7月
- 2008年6月
- 2008年5月
- 2008年4月
- 2008年3月
- 2008年2月
- 2008年1月
- 2007年12月
- 2007年11月
- 2007年10月
- 2007年9月
- 2007年8月
- 2007年7月
- 2007年6月
-
メタ情報
タグ別アーカイブ: ruby
twitterに位置情報を埋め込む
先日、twitterが正式に位置情報に対応しましたが、自分も試してみました
rubyのtwitterというgemでやってみました
[ruby]
# access_token, access_token_secretはあら … 続きを読む
Rackでsessionをclearする
session.clear
でsession[:hoge]みたいなのは全部消えるようだ
これだけで本当にsessionが初期化されているのかイマイチ自身が無い;
rubyのTwitter::Base.new().verify_credentialsのメソッド?一覧
verify_credentialsメソッドは認証したユーザについての情報を返す
Mashとかいうhashっぽいので定義されていて、何故かメソッドのごとく” . “でアクセス出来る
例)Twitt … 続きを読む
rubyのTwitter::Base.newで得られるメソッド一覧
使い方は気合いで [ruby] require ‘twitter’ # ver 0.7.0 == === =~ __id__ __send__ b64encode blank? block class client clone dclone decode64 decode_b delete direct_message_create direct_message_destroy direct_messages direct_messages_sent disable_notifications display dup enable_notifications encode64 enum_for eql? equal? extend favorite_create favorite_destroy favorites follower_ids followers … 続きを読む