2010-12-14 59 views

回答

5

在這裏你去 - http://twitter.rubyforge.org/

我用這與我在Heroku插件以及。它工作正常。

oauth = Twitter::OAuth.new('consumer token', 'consumer secret') 
oauth.authorize_from_access('access token', 'access secret') 

client = Twitter::Base.new(oauth) 
client.friends_timeline.each { |tweet| puts tweet.inspect } 

那麼你可以只顯示你想要的時間軸。

+0

我只想要我自己的推文,所以我甚至不需要任何代幣等。 – Blankman 2010-12-14 04:31:46

+0

您仍然需要訪問該API,對吧? – Jirapong 2010-12-14 07:36:31

相關問題