
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
An OAuth library to interact with Twitter API v1.1, by simply calling methods on instances. The methods name is designed to be similar to Twitter's API. For example:
If you want to load home timeline for certain user, just do:
response = your_instance.home_timeline
response.each {|r| process_response(r)}
The response is a nested hash that structured the same as Twitter's response JSON.
Add this line to your application's Gemfile:
gem 'oauth_twitter'
Then execute:
$ bundle install
Or install it yourself use:
$ gem install oauth_twitter
Configure OauthTwitter on app initialization:
OauthTwitter::Config.setup do |c| c.consumer_key = "#{your_twitter_consumer_key}" c.consumer_secret = "#{twitter_consumer_secret}"
c.oauth_callback = "#{oauth_request_token_callback_address}" end
Include OauthTwitter
in your class like:
class YouClass include OauthTwitter … end
Implement attr_accessor
in your class, so OauthTwitter could load tokens from YourClass
:
class YourClass include OauthTwitter
attr_accessor :oauth_token, :oauth_token_secret ... end
You can start calling methods on YourClass
:
you_instance = YourClass.new you_instance.request_token("callback_url")
Still a work in process...
FAQs
Unknown package
We found that oauth_twitter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.