Skip to content

Instantly share code, notes, and snippets.

@ChandraNalaani
Created September 12, 2012 19:37
Show Gist options
  • Save ChandraNalaani/3709342 to your computer and use it in GitHub Desktop.
Save ChandraNalaani/3709342 to your computer and use it in GitHub Desktop.
RepubliBot (ruby)
require 'twitter'
namespace :republibot do
desc "Tweet something ridiculous"
task :tweet do
Twitter.configure do |config|
config.consumer_key = '-----'
config.consumer_secret = '-----'
config.oauth_token = '-----'
config.oauth_token_secret = '-----'
end
m = "test."
Twitter.update(m)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment