Skip to content

Instantly share code, notes, and snippets.

@rstackhouse
Created June 4, 2012 18:18
Show Gist options
  • Save rstackhouse/2870001 to your computer and use it in GitHub Desktop.
Save rstackhouse/2870001 to your computer and use it in GitHub Desktop.
Tyring to use LinkedIn Gem
require 'rubygems'
require 'linkedin'
client = LinkedIn::Client.new('api_key', 'api_secret')
rtoken = client.request_token.token
rsecret = client.request_token.secret
puts client.request_token.authorize_url
pin = gets
client.authorize_from_request(rtoken, rsecret, pin)
@brundage
Copy link

brundage commented Jun 7, 2012

Do you have your api_key and api_secret on line 4? additional_authorization_required is the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment