Features of Twitter4R version 0.1.1 include:
* public_timeline, friend_timeline, follower_statuses, update
* SSL support
* Proxy support
* 100% C0 code coverage using RSpec specifications.
The official website is at http://twitter4r.rubyforge.org
You can also find out more at
http://groups.google.com/group/twitter-development-talk/web/twitter4r-open-source-ruby-library-for-twitter-rest-api
- or copy & paste it into your browser's address bar if that doesn't
work.
Thanks,
Susan Potter
---
http://susanpotter.net
- or copy & paste it into your browser's address bar if that doesn't
work.
Enjoy!
irb(main):013:0> client = Twitter::Client.new(:login =>
'XXX', :password => 'XXX')
=> #<Twitter::Client:0x76e4c8 @login="XXX", @password="XXX">
irb(main):014:0> timeline = client.timeline_for(:public) do |status|
irb(main):015:1* puts "#{status.user.screen_name}: #{status.message}"
irb(main):016:1> end
NoMethodError: undefined method `message' for #<Twitter::Status:
0x75e0dc>
from (irb):15
from /usr/local/lib/ruby/gems/1.8/gems/twitter4r-0.2.2/lib/
twitter/client/timeline.rb:68:in `timeline_for'
from /usr/local/lib/ruby/gems/1.8/gems/twitter4r-0.2.2/lib/
twitter/client/timeline.rb:68:in `timeline_for'
from (irb):14
irb(main):017:0>
Any ideas? Requiring the gem properly resulted in 'true' from the IRB
console, not sure if i have it installed correctly or what.
I look forward to using this gem once i can get it working :)
Regards,
-R
I will update the sample code now. Thanks and sorry for the
misinformation in the documentation. Also refer to http://twitter4r.rubyforge.org/
for more indepth documentation, where documentation is always updated
for the project with all minor releases.
Thanks,
SP
On Jul 22, 8:47 am, SP - Twitter4R <mbbx6...@gmail.com> wrote:
> Sorry for the delay, it seems to be an issue with the example code.
> Twitter::Status class has the following attributes: id, text,
> created_at, user. If you substitute ".message" for ".text" the sample
> code will work.
>
> I will update the sample code now. Thanks and sorry for the
> misinformation in the documentation. Also refer tohttp://twitter4r.rubyforge.org/
The new 0.2.5 version of Twitter4R now includes message paging
support, which was recently added to the Twitter REST API.
For more details see the following blog post:
http://snakesgemscoffee.blogspot.com/2007/09/twitter4r-announcements.html
To view the GoogleGroups page click on