Created
June 3, 2013 16:21
-
-
Save PDegenPortnoy/5699313 to your computer and use it in GitHub Desktop.
Code example for Ohloh blog on getting an OAuth request tocken
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem 'oauth' | |
require 'oauth/consumer' | |
@consumer = OAuth::Consumer.new("your api key", "your oauth consumer secret", :site => "http://www.ohloh.net") | |
@request_token = @consumer.get_request_token |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment