Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Twitteroauth | 4,231 | 721 | 165 | 3 days ago | 38 | August 18, 2022 | 31 | mit | PHP | |
The most popular PHP library for use with the Twitter OAuth REST API. | ||||||||||
Tweetinvi | 960 | 227 | 19 | 3 months ago | 133 | April 03, 2021 | 227 | mit | C# | |
Tweetinvi, an intuitive Twitter C# library for the REST and Stream API. It supports .NET, .NETCore, UAP (Xamarin)... | ||||||||||
Twitterapi | 906 | 446 | 11 | 8 days ago | 120 | June 06, 2022 | Python | |||
Minimal python wrapper for Twitter's REST and Streaming APIs | ||||||||||
Directory Backbone Bootstrap | 472 | 8 years ago | 6 | JavaScript | ||||||
Employee Directory sample application built with Backbone.js and Twitter Bootstrap | ||||||||||
Twitter4s | 258 | 1 | 20 days ago | 17 | May 21, 2022 | 46 | apache-2.0 | Scala | ||
An asynchronous non-blocking Scala client for both the Twitter Rest and Streaming API | ||||||||||
Twitter V2 | 149 | a year ago | 20 | April 10, 2021 | 25 | mit | JavaScript | |||
An asynchronous client library for the Twitter REST and Streaming API's | ||||||||||
Android Oauth Handler | 119 | 2 years ago | 4 | July 10, 2021 | mit | Java | ||||
Android OAuth Wrapper makes authenticating with APIs simple | ||||||||||
Twitter4r Core | 84 | 14 | 13 | 11 years ago | 17 | July 11, 2011 | 8 | mit | Ruby | |
Core library for Twitter4R, which provides Ruby bindings for the Twitter REST API | ||||||||||
Twivatar | 73 | 6 months ago | 2 | HTML | ||||||
Twitter RESTful avatar API | ||||||||||
Ng Twitter | 55 | 47 | 8 years ago | September 02, 2015 | 5 | JavaScript | ||||
AngularJS library for the Twitter REST Api |
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.
gem install twitter4r
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")
Twitter4R starting with version 0.1.1 and above is organized into seven parts:
Library supports:
Twitter.com REST API coverage includes:
Twitter.com Search API coverage includes:
Code:
Design Suggestions: