descriptionTwitter4R: Open source Ruby bindings for the Twitter.com REST & Search APIs
homepage URLhttp://twitter4r.rubyforge.org
repository URLgit://github.com/twitter4r/twitter4r-core.git
ownerme@susanpotter.net
last changeMon, 18 Jul 2011 03:56:13 +0000 (17 22:56 -0500)
last refreshTue, 22 Aug 2017 04:33:36 +0000 (22 06:33 +0200)
content tags
add:
README.md

Twitter4R

Description

Twitter4R provides an object based API to query or update your Twitter account via pure Ruby. It hides the ugly HTTP/REST code from your code.

Installation

gem install twitter4r

Getting Started

Add the twitter4r dependency to your Gemfile:


gem 'twitter4r', :require => 'twitter'

Set your OAuth consumer key and token like so:


Twitter.configure do |config|
  config.oauth_consumer_token = CONSUMER_KEY_HERE
  config.oauth_consumer_secret = CONSUME_SECRET_HERE
end

To create a client object with access tokens:


  client = Twitter::Client.new(:oauth_access => {
      :key => ACCESS\_KEY, :secret => ACCESS\_SECRET
    }
  client.status(:post, "Your awesome less than 140 characters tweet goes here!!! #with #hashtag #goodness")

Usage Examples

Twitter4R starting with version 0.1.1 and above is organized into seven parts:

Features

Library supports:

Twitter.com REST API coverage includes:

Twitter.com Search API coverage includes:

Developers

Contributors

Code:

Design Suggestions:

External Dependencies

shortlog
2011-07-18 Susan PotterMinor fixes for twitter4r/twitter4r-core/issues/11masterv0.7.1
2011-07-18 Susan PotterFix README as per twitter4r/twitter4r-core#11
2011-07-18 Susan PotterFix for issue twitter4r/twitter4r-core#10
2011-07-18 Susan PotterFix rdoc Rake task
2011-07-11 Susan PotterUpdate version in Twitter::Version
2011-07-11 Susan PotterRemove old API usages (need to investigate) & add new...
2011-07-11 Susan PotterRevise RSpec example to be consistent with current... v0.7.0twitter4r-v0.7.0
2011-07-11 Susan PotterFix Twitter::Status#reply(text) method to prefix @...
2011-07-11 Susan PotterAdd #inspect method override for Twitter::Location...
2011-07-11 Susan PotterSupport querying of locations for trends API
2011-07-11 Susan PotterAdd support for Location and PlaceType
2011-06-17 Susan PotterRaise error when no access token/secret pair set
2011-06-17 Susan PotterMake Twitter::Trendline embody trends collection
2011-06-17 Susan PotterConsolidate code specific to < 1.9.0 runtime
2011-06-17 Susan PotterUpdate version of rspec and add rake dependencies
2011-06-02 Susan PotterUse consistent indenting (s/\t/ /g)
...
tags
6 years ago twitter4r-v0.7.0 Tag version v0.7.0
6 years ago twitter4r-v0.6.0 Tagged version 0.6.0
6 years ago twitter4r-v0.5.3 Tagged version 0.5.3
6 years ago twitter4r-v0.5.2 Tagged version 0.5.2
6 years ago twitter4r-v0.5.1 Tagged version 0.5.1
6 years ago twitter4r-v0.5.0 Tagged version 0.5.0
7 years ago twitter4r-v0.2.4 Tagged version 0.2.4
7 years ago twitter4r-v0.2.3 Tagged version 0.2.3
7 years ago twitter4r-v0.2.2 Tagged version 0.2.2
7 years ago twitter4r-v0.2.1 Tagged version 0.2.1
7 years ago twitter4r-v0.2.0 Tagged version 0.2.0
7 years ago twitter4r-v0.1.1 Tagged version 0.1.1
7 years ago twitter4r-v0.1.0 Tagged version 0.1.0
7 years ago twitter4r-v0.3.1 Tagged version 0.3.1
7 years ago twitter4r-v0.4.0 Tagged version 0.4.0
7 years ago twitter4r-v0.3.3 Tagged version 0.3.3
...
heads
5 years ago v0.8.0
6 years ago v0.7.1
6 years ago master
6 years ago v0.7.0
6 years ago v0.6.1
6 years ago v0.6.0
6 years ago v0.5.3
6 years ago v0.5.2
6 years ago v0.5.1
6 years ago v0.5.0
7 years ago utilities
7 years ago v0.2.4
7 years ago v0.2.3
7 years ago v0.2.2
7 years ago v0.2.1
7 years ago v0.2.0
...