Sha256: b178233f769f13de5bcc923c9ae63d19b30d14cc62bfd8f7f71a19c276262e9d
Contents?: true
Size: 441 Bytes
Versions: 14
Compression:
Stored size: 441 Bytes
Contents
require 'rest-core' RestCore::Twitter.new.statuses('_cardinalblue') # get user tweets twitter = RestCore::Twitter.new(:consumer_key => '...', :consumer_secret => '...') twitter.authorize_url! # copy and paste the URL in browser to authorize twitter.authorize!('..') # paste your code from browser p twitter.tweet('hi!') # tweet for the current user p twitter.tweet('hi with pic!', File.open('...'))
Version data entries
14 entries across 14 versions & 1 rubygems