Skip to content

Instantly share code, notes, and snippets.

View moomerman's full-sized avatar
🔍
searching stack overflow, brb

Richard Taylor moomerman

🔍
searching stack overflow, brb
View GitHub Profile
#!/bin/ruby
require 'rubygems'
require 'twitter_oauth'
session = {}
@@config = YAML.load_file("config.yml") rescue nil || {}
@client = TwitterOAuth::Client.new(
:consumer_key => 'vikU4jhQVoXoF6e8WCfw3g',
:consumer_secret => 'xen6qlmau7hkaPvppRMoK76f9E9oB1SVQaDmPcMuAc',
#!/bin/ruby require 'rubygems'
require 'twitter_oauth'
@@config = YAML.load_file("config.yml") rescue nil || {}
@client = TwitterOAuth::Client.new(
:consumer_key => 'vikU4jhQVoXoF6e8WCfw3g',
:consumer_secret => 'xen6qlmau7hkaPvppRMoK76f9E9oB1SVQaDmPcMuAc',
:token => @@config[:token],
:secret => @@config[:secret]
)