Sha256: 83a23e05d4d1e12a426da301dc574620bccc220d4b05b028fa1603dc40c4c663
Contents?: true
Size: 943 Bytes
Versions: 4
Compression:
Stored size: 943 Bytes
Contents
== DESCRIPTION: == EXAMPLES: To create a new Tweetable user: @user = Tweetable::User.create(:screen_name => 'flippyhead') To then grab recent messages, friend counts, and other profile data: @user.update_all # will only grab messages since the last known message Now you have access to stuff like: @user.friend_ids # [34102, 23423, 67567, etc...] @user.friend_ids.size # 102 @user.profile_image_url # http://twitter.com/... @user.messages.size # 202 Links in messages can be extracted and expanded: @message = @user.messages.first @message.parse_links @link = @message.links.first # Tweetable::Link @link.url # http://tinyurl.com/yfuhltt @link.long_url # http://pathable.com And are connected to other users who mention them: @message.links.size # 2 @link.count # 8 (uses discovered so far) @link.users # [<Tweetable::User:0x1 @_attributes={}>, ...] Performing a keyword search is just as easy: # @search =
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
tweetable-0.1.14 | README.rdoc |
tweetable-0.1.13 | README.rdoc |
tweetable-0.1.11 | README.rdoc |
tweetable-0.1.10 | README.rdoc |