Skip to content

Instantly share code, notes, and snippets.

Fredrik Leijon FredrikL

Block or report user

Report or block FredrikL

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
FredrikL / make_token.rb
Created May 8, 2012 — forked from mirakui/make_token.rb
To get twitter/oauth access token
View make_token.rb
require 'twitter_oauth'
print 'Consumer Key> '
consumer_key = gets.chomp
print 'Consumer Secret> '
consumer_secret = gets.chomp
t =
:consumer_key => consumer_key,
View twitter_oauth_setup.rb
#!/usr/bin/env ruby
# Command line util for acquiring a one-off Twitter OAuth access token
# Based on
require 'rubygems'
require 'oauth'
puts <<EOS
Set up your application at (as a 'Client' app),
You can’t perform that action at this time.