Skip to content

Twitter4R 0.3.1 Development Release

mbbx6spp edited this page · 36 revisions

0.3.1 was officially released on Rubyforge on 05-11-2009.

Newest release features since last mbbx6spp-twitter4r gem was built (2009-05-11):

  • Added Twitter::Status#reply(....):
    • status.reply("screenname some reply text here")
  • Added specs for Twitter::Status#reply(...)
  • Added specs for preliminary search API access

Newer features since last mbbx6spp-twitter4r gem was built (2009-03-17):

  • Added raw search API support:
    • twitter.search(:to => "twitter4r", :rpp => 10) # returns last 10 statuses (in Array) that were sent to twitter4r
    • twitter.search(:q => "chambana", :rpp => 100) # returns last 100 statuses (in Array) that contain word “chambana”
    • twitter.search(:hashtag => "chambana", :rpp => 100) # returns last 100 statuses (in Array) that contain hashtag “chambana”
    • twitter.search(:geocode => "40.112186,-88.207592,15km") # returns statuses (in Array) from users within 15km from download Urbana, IL USA
    • twitter.search(:from => "stephenfry") # returns statuses (in Array) from the user stephenfry.

Newer features since last mbbx6spp-twitter4r gem was built (2009-02-08):

  • Added specifications for Social Graphing API (originally added yesterday).
  • Added unspecced Twitter::Client#profile method to be able to update profile information:
    • twitter.profile(:info, :name => 'Updated Name", :location => "Somewhere Over The Rainbow", :description => "my little bio text here") returns extended user model.
    • twitter.profile(:device, :device => "sms") or :device => “im” or :device => “none”
    • twitter.profile(:colors, :background_color => "#ffffff")
  • Added extended user model attributes for richer return data.
  • Added rough cut (unspecced – tusk, tusk) of Social Graphing API (raw IDs of friends and followers):
    • twitter.graph(:friends, 'username') returns array of friend IDs for username
    • twitter.graph(:followers, 'username') returns array of follower IDs for username
  • Added Twitter::Config “search” attributes (host, port, protocol) before merge of search branch from private repo.

Development release features since last mbbx6spp-twitter4r gem was built (2009-01-28):

  • Exception hierarchy changed. Now Twitter::RESTError extends from RuntimeError so as to not interfere with irb session hacking.
  • Added Twitter4R shell. HowTo: Use the Twitter4R Shell
  • Improved code coverage for twitter/ext/stdlib code and removed hard coded extension in GET request path for retrieving account information

Development release features since last mbbx6spp-twitter4r gem was last built (2008-12-12):

  • Model API addition:
    • Added Twitter::Status#in_reply_to_status_id attribute accessors
    • Added Twitter::Status#reply? helper method

New features since last [official] 0.3.0 release (2008-06-30):

  • Block API. e.g.
    • client.block(:add, 'username') # to add a block for username
    • client.block(:remove, 'username') # to remove an existing block for username
  • Options support for :friends, :followers calls, e.g.
    • client.my(:followers, :page => 3)
    • client.my(:friends, :since => some_time_object)
    • client.my(:friends, :lite => true) # which will return your friends as Twitter::User objects without the current status set
  • Overrode Twitter::Client#inspect so password isn’t visible in IRB sessions.
  • Replies API. Added Twitter::Client#timeline_for(:replies) and Twitter::Client#status(:replies) support. e.g.
    • client.timeline_for(:replies, :page => 3)
    • client.status(:replies)

Bugfixes added include (2008-06-30):

  • The infamous URI.encode => CGI.escape issue. You should now able able to put symbols in your statuses and login using your email address instead of just your username.

New feautres added include (2008-07-08):

  • client.account_info(:rate_limit_status) # retrieve information on your account’s rate limiting status, i.e. how many hits you have left this hour, etc.
Something went wrong with that request. Please try again.