
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
This library is under development and unstable.
Add this line to your application's Gemfile:
gem 'twitter_rss'
And then execute:
$ bundle
Or install it yourself as:
$ gem install twitter_rss
require 'twitter_rss'
# create a instance of TwitterRSS
tr = TwitterRSS.new({
:consumer_key => 'YOUR_CONSUMER_KEY',
:consumer_secret => 'YOUR_CONSUMER_SECRET',
:token => 'YOUR_ACCESS_TOKEN',
:token_secret => 'YOUR_ACCESS_SECRET'
})
# get RSS feed (GET statuses/user_timeline)
rss = tr.statuses_user_timeline({
'screen_name' => 'YOUR_SCREEN_NAME',
'count' => '20',
'tweet_mode' => 'extended'
},{
'channel' => {
'title' => 'Your RSS feed title',
'description' => 'Your RSS feed title',
'link' => 'https://twitter.com/YOUR_SCREEN_NAME'
},
})
puts rss
# get RSS feed (GET favorites/list)
rss = tr.favorites_list({
'screen_name' => 'YOUR_SCREEN_NAME',
'count' => '20',
'tweet_mode' => 'extended'
},{
'channel' => {
'title' => 'Your RSS feed title',
'description' => 'Your RSS feed title',
'link' => 'https://twitter.com/YOUR_SCREEN_NAME/likes'
},
})
puts rss
# get RSS feed (Standard search API)
rss = tr.search_tweets({
'q' => 'SEARCH_QUERY',
'count' => '20',
'tweet_mode' => 'extended'
},{
'channel' => {
'title' => 'Your RSS feed title',
'description' => 'Your RSS feed title',
'link' => 'https://twitter.com/search?q=SEARCH_QUERY'
},
})
puts rss
$ rake -T
rake build # Build twitter_rss-X.X.X.gem into the pkg directory
rake clean # Remove any temporary products
rake clobber # Remove any generated files
rake install # Build and install twitter_rss-X.X.X.gem into system gems
rake install:local # Build and install twitter_rss-X.X.X.gem into system gems without network access
rake release[remote] # Create tag vX.X.X and build and push twitter_rss-X.X.X.gem to Rubygems
rake spec # Run RSpec code examples
Bug reports and pull requests are welcome on GitHub at https://github.com/niwasawa/twitter-rss-ruby.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that twitter_rss 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
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.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.