
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
collect_twitter_media
Advanced tools
wget
command$ gem install collect_twitter_media
require 'collect_twitter_media'
CollectTwitterMedia.consumer_key('YOUR_CONSUMER_KEY')
CollectTwitterMedia.consumer_secret('YOUR_CONSUMER_SECRET')
CollectTwitterMedia.access_token('YOUR_ACCESS_TOKEN')
CollectTwitterMedia.access_token_secret('YOUR_ACCESS_TOKEN_SECRET')
save
method🎉CollectTwitterMedia.save('media_collection')
@twitter_screen_name
tweet_id
media_id
@dhh_934687159870177697_dPi3GGKVoAERExB.jpg
@tenderlove_924694994511770368_IPi5IX-UEAAoL4v.jpg
tweet_id
screen_name
original_filename
save_filename
uri
created_at
image_from_twitter
%Y%m%d_%H%M%S
image_from_twitter_20171126_171717.csv
image_from_twitter_20171224_210000.csv
the directory which contains the media files and the csv file
the csv file
the save
method can take 4 argvs
API Rate limits
example
CollectTwitterMedia.save('media_collection', 100, 4, '12345678901234')
API Rate limits
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/corselia/collect-twitter-media.
The gem is available as open source under the terms of the MIT License.
1.1.1
README.md
collect_twitter_media
to collect-twitter-media
created_at
column to the output CSV fileFAQs
Unknown package
We found that collect_twitter_media 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.